Learn R Programming

minque (version 2.0.0)

brate: Cotton boll retention rate data

Description

This data set contains boll retention of 10 cotton plants for 5 genotypes and 13 nodes. This data set can be analyzed in many ways: factorial factor design (genotype and position) or as split-plot design. For example, this data set can be analyzed by user-defined model as shown in the example.

Usage

data(brate)

Arguments

Format

A data frame with 338 observations on the following 5 variables.

Year

year of 2009

Geno

genotypes from 1 to 5

Pos

plant nodes from 5 to 17

Rep

field blocks from 1 to 4

Brate

mean boll retention for the first position over 10 plants

Details

No other details are needed

References

No reference available

Examples

Run this code
# NOT RUN {
 library(minque)

 data(brate)
 head(brate)
 brate$Geno=factor(brate$Geno)
 brate$Pos=factor(brate$Pos)
 brate$Rep=factor(brate$Rep)

 res=lmm(Brate~1|Geno*Pos+Rep,data=brate)
 res$Var
 res$FixedEffect
 res$RandomEffect

 res=lmm.jack(Brate~1|Geno*Pos+Rep,data=brate,JacNum=10,JacRep=1,ALPHA=0.05)
 res$Var
 res$PVar
 res$FixedEffect
 res$RandomEffect
 ## end
# }

Run the code above in your browser using DataLab