Description Usage Arguments Details
Function to compute/extract a simulate function for response
vectors from an object of class lm
/enriched_lm
1 2 | ## S3 method for class 'lm'
get_simulate_function(object, ...)
|
object |
an object of class |
... |
currently not used |
The computed/extracted simulate function has arguments
the regression coefficients at which the response vectors are simulated. If missing then the maximum likelihood estimates are used
the dispersion parameter at which the response vectors are simulated. If missing then the maximum likelihood estimate is used
number of response vectors to simulate. Defaults to 1
an object specifying if and how the random number
generator should be initialized ('seeded'). It can be either
NULL
or an integer that will be used in a call to
set.seed
before simulating the response vectors. If set,
the value is saved as the seed
attribute of the returned
value. The default, NULL
will not change the random
generator state, and return .Random.seed
as the seed
attribute, see Value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.