Learn R Programming

resde (version 1.1)

str2fun_theta: 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)

Value

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

Arguments

s

String representation of a function of x and parameters

Examples

Run this code
str2fun_theta("x^c / a")

Run the code above in your browser using DataLab