get_slope_intercept {packDAMipd}R Documentation

help function to keep slope and intercept portion ready in mixed model expression

Description

help function to keep slope and intercept portion ready in mixed model expression

Usage

get_slope_intercept(
  expression,
  random_intercept_vars,
  random_slope_intercept_pairs,
  uncorrel_slope_intercept_pairs
)

Arguments

expression

expression created so far

random_intercept_vars

names of variables for random intercept

random_slope_intercept_pairs

random slopes intercept pairs this is a list of paired variables

uncorrel_slope_intercept_pairs

variables with correlated intercepts

Value

expression expression created


[Package packDAMipd version 1.1.0 Index]