View source: R/complr-methods.R
mean.complr | R Documentation |
complr
object.Mean amounts and mean compositions presented in a complr
object.
## S3 method for class 'complr'
mean(x, weight = c("equal", "proportional"), ...)
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. |
cilr <- complr(data = mcompd, sbp = sbp,
parts = c("TST", "WAKE", "MVPA", "LPA", "SB"),
idvar = "ID")
mean(cilr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.