Last data update: 2014.03.03

R: Simulated data set for a simple mixed model
MM1R Documentation

Simulated data set for a simple mixed model

Description

Simulated data set for a simple mixed model

Usage

data(MM1)

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

data(MM1)
boxplot(Y~F*R, data=MM1)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(BSagri)
Loading required package: gamlss
Loading required package: splines
Loading required package: gamlss.data
Loading required package: gamlss.dist
Loading required package: MASS
Loading required package: nlme
Loading required package: parallel
 **********   GAMLSS Version 4.4-0  ********** 
For more on GAMLSS look at http://www.gamlss.org/
Type gamlssNews() to see new features/changes/bug fixes.

Loading required package: multcomp
Loading required package: mvtnorm
Loading required package: survival

Attaching package: 'survival'

The following object is masked from 'package:gamlss.data':

    leukemia

Loading required package: TH.data

Attaching package: 'TH.data'

The following object is masked from 'package:MASS':

    geyser

Loading required package: MCPAN
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/BSagri/MM1.Rd_%03d_medium.png", width=480, height=480)
> ### Name: MM1
> ### Title: Simulated data set for a simple mixed model
> ### Aliases: MM1
> ### Keywords: datasets
> 
> ### ** Examples
> 
> data(MM1)
> boxplot(Y~F*R, data=MM1)
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>