byMRO | R Documentation |
Constructs a multiple response object (MRO) subset by another explanatory variable.
byMRO(mro.obj, formula, FUN, ...)
mro.obj |
an mro object (created by |
formula |
variable for subsetting, as a formula (e.g., |
FUN |
the function to apply to subsets |
... |
additional arguments passed to |
an object with classes of by
and bymrocalc
mroPara
mr <- iNZightMR(online ~ onlinegame + onlinevideo + onlinemusic,
data = census.at.school.5000
)
byMRO(mr, ~gender, mroPara)
byMRO(mr, ~ gender + handed, mroPara)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.