sim: Simulate From Distribution (S4 Object)

Description Usage Arguments Value

View source: R/utils.R

Description

Simulate From Distribution (S4 Object)

Usage

1
sim(distribution, return_var = FALSE)

Arguments

distribution

An object of S4 class "Distribution".

return_var

Default FALSE. If TRUE, the output will be a list containing the simulated model coefficients and variance. If FALSE, the output is a vector of the simulated model coefficients.

Value

A list or vector (see return_var parameter).


dfcorbin/MABsim documentation built on April 26, 2020, 8:26 a.m.