Learn R Programming

ordinalTables (version 1.0.0.3)

McCullagh_initialize_x: Initialize design matrix for location model.

Description

This is the simplest possible implementation, that fits thresholds and a single group contrast. More complex problems will implement the matrix X themselves.

Usage

McCullagh_initialize_x(s, c, v)

Value

design matrix X

Arguments

s

number of levels of stratification variable

c

number of score levels

v

number of predictors above thresholds