marshalFormula: Marshal a formula into options

Description Usage Arguments

View source: R/marshal.R

Description

Marshal a formula into options

Usage

1
2
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

...

extra args for forwards compatibility


jamovi/jmvcore documentation built on Nov. 16, 2019, 10:01 p.m.