formFunction: Converts a formula into a function

View source: R/formFunction.R

formFunctionR Documentation

Converts a formula into a function

Description

Converts a formula into a function

Usage

formFunction(formula)

Arguments

formula

the formula to be converted. Should be of the form y ~ f(x)

Examples

f <- formFunction(y ~ log10(x))

f(x=1:10)

StratigrapheR documentation built on July 9, 2023, 6:02 p.m.