Last data update: 2014.03.03

R: Cattle data
cattleR Documentation

Cattle data

Description

milk fat performance (in kg per lactation) of heifers of three sires from Holstein Frisian cattle to select the sire with the highest breeding value for milk fat performance.

Usage

data(cattle)

Format

The format is: num [1:5, 1:3] 132 128 135 121 138 173 166 172 176 169 ...

Author(s)

Dieter Rasch, Juergen Pilz, L.R. Verdooren, Albrecht Gebhardt

References

Dieter Rasch, Juergen Pilz, L.R. Verdooren, Albrecht Gebhardt: Optimal Experimental Design with R, Chapman and Hall/CRC, 2011

Examples

data(cattle)
size.seq_select.mean(data=cattle,delta=10, P=0.95)

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(OPDOE)
Loading required package: gmp

Attaching package: 'gmp'

The following objects are masked from 'package:base':

    %*%, apply, crossprod, matrix, tcrossprod

> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/OPDOE/cattle.Rd_%03d_medium.png", width=480, height=480)
> ### Name: cattle
> ### Title: Cattle data
> ### Aliases: cattle
> ### Keywords: datasets
> 
> ### ** Examples
> 
> data(cattle)
> size.seq_select.mean(data=cattle,delta=10, P=0.95)
$Q
          [,1]      [,2]      [,3]
[1,]  9921.333  6801.333  3601.333
[2,] 21477.333 14997.333  7557.333
[3,] 45028.000 31428.000 17668.000
[4,] 63889.333 45289.333 23489.333

$M
             [,1]         [,2]         [,3]
[1,] 4.238718e-05 1.067420e-04 4.943891e-04
[2,] 1.074288e-07 4.379757e-07 6.145879e-06
[3,] 4.956877e-09 3.329562e-08 6.579088e-07
[4,] 1.581132e-10 1.569310e-09 1.095461e-07

$z
[1] 0.30164336 0.08874313 0.05814255 0.01576892

$b
[1] "CONTINUE" "CONTINUE" "CONTINUE" "STOP"    

$stage
[1] 5

$BestPopulation
[1] 2

> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>