Multitype | R Documentation |
Multitype
creates a multitype outcome object, usually used as a response variable in a
hierarchical Cyclops model fit.
Multitype(y, type)
y |
Numeric: Response count(s) |
type |
Numeric or factor: Response type |
An object of class Multitype
with length equal to the length of y
and type
.
Multitype(c(0,1,0), as.factor(c("A","A","B")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.