Skip to contents

Linear model parser

Usage

formula_parser(
  data,
  arg1,
  arg2,
  flag = NULL,
  transformation = NULL,
  nest = NULL,
  type = "OLS",
  execute = TRUE
)

Arguments

data

ion count data.

arg1

quosure of outcome variable.

arg2

quosure of predictor variable.

flag

quosure of nominal predictor variable for outliers.

transformation

transformation of the predictor ("log" or "ppt" dividing through thousand).

nest

quosure of nest variable for mixed effect moddeling this is the variable for the nesting structure.

type

type of model fitting (ratio method (RM), ordinary least squares (OLS), generalized least squares (GLS), special case for Quasi Simultaneous Arrival estimate (QSA) or linear mixed effects (LME).

execute

either evaluate or return expression.

Value

call or evaluated call in context of data.