print.gainstable {ROCit}R Documentation

Print 'gainstable' Object

Description

S3 print method to print "gainstable" object.

Usage

## S3 method for class 'gainstable'
print(x, maxdigit = 3, ... = NULL)

Arguments

x

An object of class "gainstable", created with either gainstable.default or gainstable.rocit.

maxdigit

How many digits after decimal to be printed.

...

NULL. Used for S3 generic/method consistency.

Examples

data("Loan")
class <- Loan$Status
score <- Loan$Score
rocit_emp <- rocit(score = score, class = class, negref = "FP")
# ----------------------------------------------------------------
gtable8 <- gainstable(rocit_emp, ngroup = 8)
print(gtable8)
print(gtable8, maxdigit = 4)

[Package ROCit version 2.1.2 Index]