powered by
Normally not called by the user directly, used by sdefit(). Converts an expression, in a character string, to a function.
sdefit()
str2fun_theta(s)
Function of x and theta, theta being a named vector or list of parameters.
x
theta
String representation of a function of x and parameters
str2fun_theta("x^c / a")
Run the code above in your browser using DataLab