infer_RHS: Utilities for formulas and graphics arguments

View source: R/utilities.R

infer_RHSR Documentation

Utilities for formulas and graphics arguments

Description

infer_RHS turns a one-sided formula into a two-sided formula suitable for makeFun(). formals_from_expression creates a "formals" list for creating a function. The list will have arguments in the canonical order.

Usage

infer_RHS(ex)

formals_from_expr(ex, others = character(0))

Arguments

ex

An expression as in quote(x^2) or the left side of a tilde expression.

others

Character string(s) with names of additional arguments to be included in the formals


ProjectMOSAIC/mosaicCalc documentation built on March 17, 2024, 8:27 p.m.