infer_RHS {mosaicCalc}R 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


[Package mosaicCalc version 0.6.4 Index]