mean.complr {multilevelcoda} | R Documentation |
Mean amounts and mean compositions presented in a complr
object.
Description
Mean amounts and mean compositions presented in a complr
object.
Usage
## S3 method for class 'complr'
mean(x, weight = c("equal", "proportional"), ...)
Arguments
x |
An object of class |
weight |
A character value specifying the weight to use in calculation of the reference composition.
If |
... |
generic argument, not in use. |
Examples
cilr <- complr(data = mcompd, sbp = sbp,
parts = c("TST", "WAKE", "MVPA", "LPA", "SB"),
idvar = "ID")
mean(cilr)
[Package multilevelcoda version 1.3.0.2 Index]