simulate.nls: Simulate Responses.

Description Usage Arguments Details Value

Description

Simulate one or more responses from the distribution corresponding to a fitted nls object.

Usage

1
2
## S3 method for class 'nls'
simulate(object, nsim = 1, seed = NULL, ...)

Arguments

object

An object representing a fitted model.

nsim

Number of response vectors to simulate. Defaults to 1.

seed

An object specifying if and how the random number generator should be initialized ('seeded').

...

Additional optional arguments.

Details

This is a simple wrapper function for simulate.lm.

Value

A dataframe with attribute "seed", where each column represents a set of simulated responses.


SWotherspoon/nlsaux documentation built on May 31, 2019, 8:41 a.m.