powered by
Multitype creates a multitype outcome object, usually used as a response variable in a hierarchical Cyclops model fit.
Multitype
Multitype(y, type)
An object of class Multitype with length equal to the length of y and type.
y
type
Numeric: Response count(s)
Numeric or factor: Response type
Multitype(c(0,1,0), as.factor(c("A","A","B")))
Run the code above in your browser using DataLab