summary.TD | R Documentation |
TD
summary
method for class TD
.
## S3 method for class 'TD'
summary(
object,
...,
trial = names(object),
traits,
groupBy = NULL,
what = if (!is.null(groupBy)) {
c("nObs", "mean", "sd")
} else {
c("nObs",
"nMiss", "mean", "median", "min", "max", "firstQ", "thirdQ", "var")
}
)
object |
An object of class TD. |
... |
Further arguments - currently not used. |
trial |
A character string specifying the trial to be summarized. |
traits |
A character vector specifying the traits to be summarized. |
groupBy |
A character string specifying a column in TD by which the
summary should be grouped. If |
what |
A character vector indicating which summary statistics should be
computed. If
|
A table containing the selected summary statistics.
Other functions for TD objects:
TD
,
getMeta()
,
plot.TD()
## Summarize TDHeat05.
summary(TDHeat05,
traits = "yield")
## Summarize TDHeat05 grouping by repId.
summary(TDHeat05,
traits = "yield",
groupBy = "repId")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.