View source: R/gaudermanModelling.R
createGoudermanData | R Documentation |
Using the Gouderman methodology to create the Gouderman-Data Arrangement.
createGoudermanData(selectedLDO, breaks, center, timeperiod = NA, range = NA)
selectedLDO |
Longitudinal Data Object, containing all selected metabolites to be used for the final Gouderman model. |
breaks |
break points for the spline model |
center |
Time point that corresponds to the center time t0. The algorithm will test whether there is a significant difference between the groups at this point. |
timeperiod |
If the user defines the time period or segment, in the spline to be tested. Note, a 3 break point spline has 4 segments. |
range |
If the user defines a range, the algorithm will test whether there is a significant difference between the groups in this range. |
The function returns a 'GaudermanLDO' object. For more information @seealso 'GaudermanLDO' .
## Not run: data(LoBraExample) selectedLDO <- selectComponents(ldo, components) breaks<- c(8, 12) center<- 12 timeperiod <- 2; gaudermanLDOexample <- createGoudermanData(selectedLDO, breaks, center, timeperiod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.