View source: R/get_linear_lincomb.R
get_linear_lincomb | R Documentation |
Calculate the matrix for linear combinations of strata
get_linear_lincomb(
dataset,
time_var,
stratum_var = "stratum",
stratum_weights,
formula
)
dataset |
the raw dataset. |
time_var |
variable indicating the time. |
stratum_var |
variable containing the stratum information. |
stratum_weights |
a dataframe with stratum weights. |
formula |
the formula for the trend component |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.