marginalNLS: Fit two 4-parameter log-logistic functions with non-linear...

View source: R/fitMarginals.R

marginalNLSR Documentation

Fit two 4-parameter log-logistic functions with non-linear least squares

Description

This function does not automatically extract marginal data and requires model input obtained from constructFormula.

Usage

marginalNLS(data, transforms = NULL, start, model, nlsfn = nls, ...)

Arguments

data

Dose-response dataframe. Marginal data will be extracted from it automatically.

transforms

Transformation functions. If non-null, transforms is a list containing 5 elements, namely biological and power transformations along with their inverse functions and compositeArgs which is a list with argument values shared across the 4 functions. See vignette for more information.

start

Starting parameter values. If not specified, they will be obtained from initialMarginal.

model

List with model parameters. Typically, this is an output from constructFormula.

nlsfn

Non-linear least-squares optimizer function

...

Further arguments that are passed to the optimizer function, such as lower or upper (for the "nlslm" method), or control.


BIGL documentation built on July 9, 2023, 7:15 p.m.