Extract a model specification from the measurement error model

me_parse_model(
  model_syntax = " ",
  me_data = NULL,
  data = NULL,
  as_list = FALSE,
  debug_code = FALSE,
  operators = c("~", "=", "~~")
)

Arguments

model_syntax

a string containing the model specification

me_data

measurment error data. This is used to return the RHS of the quality specification.

data

data to extract the variables when specifying '~ .'

as_list

a logical for whether the result is a data frame or a list. Dataframe is set as a default.

debug_code

a logical for whether debugging logs should be printed.

operators

permitted operators to define new lines

Value

A data frame with the parsed model extracted into different columns