change.scoring: Function for editing model slot 'scoring'

Description Usage Arguments Details Value Note Examples

Description

A change function for modelScoringClass.

Usage

1
change.scoring(scoring,availableSsystems)

Arguments

scoring

(model slot scoring) is an object of the class modelScoringClass

availableSsystems

is a character vector containing scoring system names that are available in the current rrisk session

Details

This function is not intended to be called directly but is internally called during rrisk session.

Value

This function returns edited model scoring system (slot scoring).

Note

This function requires some functions from the package tcltk.

Examples

1
2
3
4
scoringSystem<-init.scoresystem1()
# It is not possible to call current scoring system by "my scoring system"
scoringSystem<-change.scoring(scoringSystem,availableSsystems=c("my scoring system"))
scoringSystem

BfRstats/rrisk documentation built on May 5, 2019, 3:49 p.m.