Learn R Programming

dalmatian (version 0.6.1)

betabin_data_1: Simulated data for illustrating the beta-binomial model

Description

Simulated data to show how the beta-binomial model may be fit with fixed and random effects on both the mean and dispersion.

Usage

betabin_data_1

Arguments

Format

A data frame containing 500 observations and 6 columns:

ID

The individual ID.

Rep

The replicate number

.
x1

The value of the covariate for the mean.

x2

The value of the covariate for the dispersion.

m

The number of Bernoulli trials for each observation.

y

The number of successes.