get_linear_lincomb: Calculate the matrix for linear combinations of strata

View source: R/get_linear_lincomb.R

get_linear_lincombR Documentation

Calculate the matrix for linear combinations of strata

Description

Calculate the matrix for linear combinations of strata

Usage

get_linear_lincomb(
  dataset,
  time_var,
  stratum_var = "stratum",
  stratum_weights,
  formula
)

Arguments

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


inbo/abvanalysis documentation built on April 6, 2023, 5:14 a.m.