Returns an error if necessary elements are missing in the model

parse_lm(
  main_effect = "",
  covariates = "",
  corr_var = "",
  group_var = "",
  model_type = "",
  demographics
)

Arguments

main_effect

string designating which column of demographics is the main effect

covariates

string designating which column of demographics is the covariates

corr_var

string designating which column of demographics is the correlation variable

group_var

string designating which column of demographics is the group variable

model_type

string designating the type of model

demographics

data frame of the demographics