groupedData
object to examine the
variables by group.gsummary(object, FUN, omitGroupingFactor, form, level,
groups, invariantsOnly, ...)
data.frame
with one row for each level of the grouping
factor. The number of columns is at most the number of columns in
object
.summary
, groupedData
,
getGroups
data(Orthodont)
gsummary(Orthodont) # default summary by Subject
## gsummary with invariantsOnly = TRUE and omitGroupingFactor = TRUE
## determines whether there are covariates like Sex that are invariant
## within the repeated observations on the same Subject.
gsummary(Orthodont, inv = TRUE, omit = TRUE)
Run the code above in your browser using DataLab