simulate.bbdml {corncob}R Documentation

Simulate from beta-binomial model

Description

Simulate from beta-binomial model

Usage

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

Arguments

object

an object of class bbdml

nsim

Integer. Number of simulations

seed

Optional integer to set a random seed

...

There are no additional parameters at this time.

Value

nsim simulations from object


[Package corncob version 0.4.1 Index]