Learn R Programming

baseline (version 1.3-5)

qualMeas: Extraction functions for "predictionResult" or "baselineAlgResult" objects

Description

Extract slots from objects of class predictionResult or baselineAlgResult.

Usage

qualMeas(object, ...)
# S4 method for predictionResult
qualMeas(object, ...)
# S4 method for baselineAlgResult
qualMeas(object, ..., MIN, AVG,
  DEFAULT = c("all", "cond.min", "overall.min", "avg"))
minQualMeas(object)
param.min(object)
qualMeasName(object)

Value

The qualMeas method for baselineAlgResult objects returns the subsets or minimum values of the qualMeas slot of the object as specified above. All other methods simply return the corresponding slot.

Arguments

object

An object of class predictionResult or baselineAlgResult

MIN

List or vector of parameter names to take the minimum over. Not used if DEFAULT is "cond.min". See Details

AVG

List or vector of parameter names to take the average over. Not used if DEFAULT is "avg". See Details

DEFAULT

Character string. The default way to calculate the minimum (or average) for all parameters. See Details

...

Other arguments. Selection of subsets of parameter levels. See Details

Author

Bjørn-Helge Mevik and Kristian Hovde Liland

Details

The arguments to the baselineAlgResult method are interpreted in the following way:

Subsets of parameters levels can be selected by supplying their names and specifying the level indices as vectors. Substituting a vector with "all" will return all levels of the corresponding parameter, and substituting it with "overall" will return the level corresponding to the overall minimum. Minimum and average values for selected parameters can be chosen using MIN and AVG, respectively, together with a vector of parameter names.

DEFAULT specifies the action for each remaining parameters: If "all" (default): returns all levels. If "cond.min": take minimum for each remaining parameter (MIN is not used). If "overall.min": set any remaining parameters to their value corresponding to the overall min. If "avg": take average for each remaining parameter (AVG is not used).

See Also

Function runTest, classes baselineAlgResult and predictionResult