str2fun_theta: String to function, with parameters in theta

View source: R/sdefit.R

str2fun_thetaR 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 x and parameters

Value

Function of x and theta, theta being a named vector or list of parameters.

Examples

str2fun_theta("x^c / a")

ogarciav/resde documentation built on May 24, 2023, 10:50 p.m.