marshalFormula: Marshal a formula into options

View source: R/marshal.R

marshalFormulaR Documentation

Marshal a formula into options

Description

Marshal a formula into options

Usage

marshalFormula(formula, data, from = "rhs", type = "vars",
  permitted = c("numeric", "factor"), subset = ":", required = FALSE)

Arguments

formula

the formula

data

a data frame to marshal the data from

from

'rhs' or 'lhs', which side of the formula should be marshalled

type

'vars' or 'terms', the type of the option be marshalled to

permitted

the types of data the option permits

subset

a subset of the formula to marshal

required

whether this marshall is required or not


jmvcore documentation built on Aug. 15, 2023, 9:07 a.m.