ord.expand | R Documentation |
This function expand each response value into indicator for model fitting
ord.expand(formula, times, data, subjects, categories)
formula |
an R formula |
times |
a vector of times which occur within subject clusters |
data |
a data frame including response data and covariates |
subjects |
a character string specifying the subject variable |
categories |
a numeric variable indicating the number of ordinal levels |
an expanded data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.