stat2e {qgen}R Documentation

Statistics for characters in two environments

Description

Calculates the narrow-sense heritability of plasticity and its confidence intervals.

Usage

stat2e(paraDATA,
       alpha=0.05,
       v=list( c(-1,1),c(0,1),c(1,0),c(1,1),c(1,-1) ),
        Satterthwaite=TRUE,
       file=FALSE,
       path="~/qgen/")

Arguments

paraDATA object of class paraDATA created by the function est (or emp, see below)
alpha two sided error probability
v list with weights for the two environments; the indices
Satterthwaite Logical flag: Should the approximated degree of freedoms for sire and dam be used (only possible if they are available)?
file Logical flag: Should the object be written to
a file called "stat2e.rda"?
path the path for the output files

Details

This function calculates the heritability of individual traits. If the feeder provides parameters for several characters or several environments or both, then for every character–trait combination heritability is calculated individualy. If the feeder has a unbal slot with data about the balancedness of the data set then also the confidence intervals are calculated. If the feeder provides parameters estimated with diffent variance partitioning methods then it is possible to choose among them.

Value

an object of the class stat

Note

Attributes: limes

References

Burdick, R. K. and Graybill, F. A. (1992) Confidence intervals on variance components. Marcel Dekker, New York.

Sen, B., Graybill, F. A. and Ting, N. (1992) Confidence intervals on variance components. Biometrical Journal 3, 259–274.

See Also

stat1, for the same statistics of one trait; statXt, for several traits within one environment.

Examples

## calculates narrow-sense heritability and its confidence intervals

[Package qgen version 0.03-02 Index]