str2fun_theta {resde} | R Documentation |
String to function, with parameters in theta
Description
Normally not called by the user directly, used by sdefit()
.
Converts an expression, in a character string, to a function.
Usage
str2fun_theta(s)
Arguments
s |
String representation of a function of |
Value
Function of x
and theta
, theta
being a named vector or list of parameters.
Examples
str2fun_theta("x^c / a")
[Package resde version 1.1 Index]