to_function {paramix}R Documentation

Internal Conversion of Data to Function

Description

Internal Conversion of Data to Function

Usage

to_function(x, bounds, interp_opts)

Arguments

x

a function or the single argument version of x in xy.coords() (as per approxfun() or splinefun() inputs). Pass through from user input, must be checked

bounds

numeric vector, length 2: the partition lower bound; not checked, result of range(make_partition(...)).

interp_opts

if x is function, ignored. Otherwise, an interpolating function and its arguments.

Value

a function


[Package paramix version 0.0.2 Index]