buildCnormObject function

Build cnorm object from data and bestModel model object

Build cnorm object from data and bestModel model object

Helper function to build a cnorm object from a data object and a model object from the bestModel function for compatibility reasons.

buildCnormObject(data, model)

Arguments

  • data: A data object from 'prepareData', or from 'rankByGroup' and 'computePower'
  • model: Object obtained from the bestModel function

Returns

A cnorm object

Examples

## Not run: data <- prepareData(elfe) model <- bestModel(data, k = 4) model.cnorm <- buildCnormObject(data, model) ## End(Not run)