Simulated data for a simple mixed model with Poisson response

Share:

Description

Simulated data with a fixed factor cult (4 levels), with 8 randomized replications each, a (fixed) factor time (6 levels), which are repeated measurements taken from the same experimental units. The 32 experimental (plotid) units differ in their mean response follwing a gaussian distribution. The response Y follows a Poisson distribution.

Usage

1

Format

A data frame with 192 observations on the following 4 variables.

plotid

a factor with 32 levels, representing the 32 experimental units (plots)

cult

a factor with 4 levels (C1 C2 C3 C4), representing a fixed factor (e.g. the cultivar)

time

a factor with 6 levels (T1 T2 T3 T4 T5 T6) specifying repeated measurements on the same experimental units (plotid) over time

Y

a numeric vector, following a Poisson distribution

Source

simulation

Examples

1
2
3

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.