Skip to contents

regression coefficient analysis

Usage

hsCoefAna(
  data,
  recursive = TRUE,
  evtNums = unique(data$evtID),
  aslist = recursive,
  uselm = FALSE,
  prep = FALSE,
  ...,
  dbg.level = max(2, length(evtNums) - 8)
)

Arguments

data

data frame containing columns tstamp (time stamp), pval (probe value), lval (lab value), evtID (event ID)

recursive

if TRUE, the recursive version hsCoefAnaRes of the regression coefficient analysis is used, otherwise the non-recursive version. default: TRUE

evtNums

event numbers to be considered for the analysis. Only considered when recursive == TRUE. default: all distinct values provided in column evtID of data)

aslist

default: boolean value given in recursive

uselm

if TRUE, the lm function is used to calculate the linear regression, otherwise (uselm == FALSE) the regression is calculated "manually" which is much faster. Default: FALSE

prep

Default: FALSE

...

further arguments passed to hsCombiLinReg, e.g. clever

dbg.level

default: max(2, length(evtNums) - 8)