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


mosaicCalc documentation built on Sept. 11, 2024, 9:10 p.m.