| getTimePoints {statgenHTP} | R Documentation | 
Extract time points
Description
Function for extracting a data.frame with timeNumbers and timePoints from an object of class TP or fitMod.
Usage
getTimePoints(x)
Arguments
x | 
 An object of class TP or fitMod  | 
Value
A data.frame with columns timeNumber and timePoint listing the time points in x
See Also
Other functions for data preparation: 
as.data.frame.TP(),
createTimePoints(),
plot.TP(),
removeTimePoints(),
summary.TP()
Examples
## Create an object of class TP.
phenoTP <- createTimePoints(dat = PhenovatorDat1,
                            experimentName = "Phenovator",
                            genotype = "Genotype",
                            timePoint = "timepoints",
                            repId = "Replicate",
                            plotId = "pos",
                            rowNum = "y", colNum = "x",
                            addCheck = TRUE,
                            checkGenotypes = c("check1", "check2",
                                               "check3", "check4"))
## Extract the time points from the object.
head(getTimePoints(phenoTP))
[Package statgenHTP version 1.0.6.1 Index]