View source: R/printGainsTable.R
print.gainstable | R Documentation |
'gainstable'
ObjectS3 print method to print "gainstable"
object.
## S3 method for class 'gainstable'
print(x, maxdigit = 3, ... = NULL)
x |
An object of class |
maxdigit |
How many digits after decimal to be printed. |
... |
|
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.