get_simulate_function.betareg: Function to compute/extract a simulate function for response...

Description Usage Arguments Details

View source: R/enrich.betareg.R

Description

Function to compute/extract a simulate function for response vectors from an object of class betareg/enriched_betareg

Usage

1
2
## S3 method for class 'betareg'
get_simulate_function(object, ...)

Arguments

object

an object of class betareg orenriched_betareg

...

currently not used

Details

The computed/extracted simulate function has arguments

coefficients

the regression coefficients at which the response vectors are simulated. If missing then the maximum likelihood estimates are used

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'). 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


enrichwith documentation built on Nov. 17, 2017, 4 a.m.