get_parameters {nlstac}R Documentation

Get parameters from a formula

Description

Returns the linear and nonlinear parameters of a formula

Usage

get_parameters(form, var_names)

Arguments

form

Either a string in the form 'y ~ ...' or an object of formula class

var_names

A string array with the column names of the data.frame containing the data to be fitted.

Value

A list containing the names of the linear and the nonlinear parameters of the formula.


[Package nlstac version 0.2.0 Index]