Learn R Programming

BSagri (version 0.1-10)

MM1: Simulated data set for a simple mixed model

Description

Simulated data set for a simple mixed model

Usage

data(MM1)

Arguments

Format

A data frame with 160 observations on the following 3 variables.

Y

a numeric vector, the response, sampled from a normal distribution

F

a factor with levels F1 F2 F3 F4, representing fixed effects

R

a factor with levels R1 R2 R3 R4 R5, representing random effects, sampled from a normal distribution

Examples

Run this code
# NOT RUN {
data(MM1)
boxplot(Y~F*R, data=MM1)
# }

Run the code above in your browser using DataLab