define_formula: Define a Formula

View source: R/formula.R

define_formulaR Documentation

Define a Formula

Description

Takes a string representing an R-expression and turns it into a heRoFormula object. If the resulting R-expression is invalid, it will be replaced with an expression that evaluates to an error string.

Usage

define_formula(string)

Arguments

text

An atomic character vector containing an R-expression.

Value

A heRoFormula object representing the given R-expression.


jrdnmdhl/heRomod2 documentation built on June 29, 2023, 8:43 p.m.