buildCnormObject: Build cnorm object from data and bestModel model object

View source: R/utilities.R

buildCnormObjectR Documentation

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)

Arguments

data

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

model

Object obtained from the bestModel function

Value

A cnorm object

Examples

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

## End(Not run)


cNORM documentation built on Nov. 4, 2024, 5:07 p.m.