simulate_data: Simulate Data According to Some Distribution

Description Usage Arguments Value

Description

Simulate a vector of data from a given distribution object.

Simulate a vector of data from a given distribution object.

Usage

1
2
3

Arguments

dist

An object of class 'beta_dist', 'normal_gamma_dist', 'gamma_dist' that specifies the parameters of some distribution

n

How many data points to simulate

...

Arguments to be passed onto other methods

dist

An object of class 'beta_dist', 'normal_gamma_dist', 'gamma_dist', 'bernouilli_dist', 'normal_dist', or 'poisson_dist' that specifies the parameters of some distribution

Value

A list

A vector of simulated data.


convoyinc/abayes documentation built on May 12, 2019, 1:34 a.m.