This function is deprecated. Use extractSTA
for extracting
results from fitted models.
extract(
STA,
trials = names(STA),
traits = NULL,
what = "all",
keep = NULL,
restoreColNames = FALSE
)
A list with, per trial for which statistics have been extracted, a list of those statistics.
An object of class STA.
A character vector of trials for which the statistics should be computed. If not supplied, statistics are computed for all trials that have been modeled.
A character vector of traits for which the statistics should be computed. If not supplied, statistics are computed for all traits that have been modeled.
A character vector indicating which statistics should be
computed. Most statistics are available for all models, some only for models
fitted using a certain engine. If this is the case, this is indicated in the
list with options in details.
If what = "all"
, all available statistics are computed.
A character vector of column(s) in the object of class
TD
used for modeling. These columns will be kept as output when
computing fitted values, residuals, standardized residuals and rMeans.
Columns can also be kept when computing (se)BLUEs and (se)BLUPs but only if
the column to keep contains unique values for the modeled variables, i.e. a
column repId with several different values per genotype cannot be kept.
Should the original column names be restored in the output of the extracted data?
Possible options for what
are:
Best Lineair Unbiased Estimators.
Standard errors of the BLUEs.
Best Lineair Unbiased Predictors.
Standard errors of the BLUPs.
Unit errors - only for lme4
and asreml
.
Heritability.
Variance components for model with genotype as fixed component.
Variance components for model with genotype as random component.
Genetic variance component(s).
Residual variance component(s) - only for lme4
and asreml
.
Spatial variance components - only for SpATS
.
Fitted values for the model with genotype as fixed component.
Residuals for the model with genotype as fixed component.
Standardized residuals for the model with genotype as fixed component
Fitted values for the model with genotype as random component.
Random genetic effects.
Residuals for the model with genotype as random component.
Standardized residuals for the model with genotype as random component
Results of the wald test - only for lme4
and
asreml
.
Coefficient of variation - only for lme4
and
asreml
.
Residual degrees of freedom for the model with genotype as fixed component.
Residual degrees of freedom for the model with genotype as random component.
Effective dimensions - only for SpATS
.
Ratio's of the effective dimensions -
only for SpATS
.
Standard error of difference - only for asreml
.
Least significant difference - only for asreml
.
All available statistics.
fitTD