nlsLM_MC: Monte Carlo simulations of linear least squares models fitted...

View source: R/functions.R

nlsLM_MCR Documentation

Monte Carlo simulations of linear least squares models fitted with nlsLM from the minpack.lm package

Description

Perform Monte Carlo (MC) simulations of non linear least squares models fitted with nlsLM from the minpack.lm package

Usage

nlsLM_MC(model, runs = 1000)

Arguments

model

A nlsLM object to perform MC calculations with.

runs

Number of MC runs to perform (defaults to 1000).

Examples

n <- nls(mpg ~ k * e ^ wt, data = mtcars, start = list(k = 1, e = 2))
nls_MC(n)

Jonas-Wilhelm/jwtools documentation built on April 14, 2025, 4:10 a.m.