Learn R Programming

cNORM (version 3.3.1)

buildCnormObject: Build cnorm object from data and bestModel model object

Description

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

Usage

buildCnormObject(data, model)

Value

A cnorm object

Arguments

data

A data object from 'prepareData', or from 'rankByGroup' and 'computePower'

model

Object obtained from the bestModel function

Examples

Run this code
if (FALSE) {
  data <- prepareData(elfe)
  model <- bestModel(data, k = 4)
  model.cnorm <- buildCnormObject(data, model)
}

Run the code above in your browser using DataLab