createGoudermanData: Create the Gouderman Data and Model

Description Usage Arguments Value Examples

View source: R/gaudermanModelling.R

Description

The screening method extracts peaks that are likely to

Usage

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

Arguments

s

A numeric value to

Value

square of the in put

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
 
  data(modelSelectionObjectExample)
  
  optimal<-getOptimalSpline(lobraModelSelectionObject, qualityMeasure="AIC")
  breaks<- optimal@breaks$optimalID
  center<- 14
  timeperiod <- 4;
  gaudermanLDOexample4TP <- createGoudermanData(modelSelectionObject@ldo, breaks, center, timeperiod)
  save(gaudermanLDOexample4TP,file="data/mygaudermanLDOExample4.RData")
  
  range <- c(9,13)
  center<- 9;
  gaudermanLDOexample3TP <- createGoudermanData(modelSelectionObject@ldo, breaks=range, center, range=range);
  save(gaudermanLDOexample3TP,file="data/mygaudermanLDOExample3.RData")
  

ac-hauschild/LoBrA documentation built on May 26, 2019, 3:35 p.m.