build.sbp | R Documentation |
Build a default sequential binary partition for complr
object.
The default sequential binary partition is a pivot balance that allows
the effect of this first balance coordinate to be interpreted as the change
in the prediction for the dependent variable
when that given part increases while all remaining parts decrease by a common proportion.
build.sbp(parts)
parts |
A character vector specifying the names of compositional variables to be used. |
A matrix sequential binary partition.
sbp1 <- build.sbp(parts = c("TST", "WAKE", "MVPA", "LPA", "SB"))
print(sbp1)
sbp2 <- build.sbp(c("WAKE", "MVPA", "LPA", "SB"))
print(sbp2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.