createGoudermanData {LoBrA}R Documentation

Create the Gouderman Data Arrangement.

Description

Using the Gouderman methodology to create the Gouderman-Data Arrangement.

Usage

createGoudermanData(selectedLDO, breaks, center, timeperiod = NA, range = NA)

Arguments

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.

Value

The function returns a 'GaudermanLDO' object. For more information @seealso 'GaudermanLDO' .

Examples

## Not run: 
 
  data(LoBraExample)
  selectedLDO <- selectComponents(ldo, components)
  breaks<- c(8, 12)
  center<- 12
  timeperiod <- 2;
  gaudermanLDOexample <- createGoudermanData(selectedLDO, breaks, center, timeperiod)
  

[Package LoBrA version 1.0 Index]