get_parameters: Get parameters from a formula

View source: R/get_parameters.R

get_parametersR 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.


nlstac documentation built on April 11, 2023, 6:12 p.m.