Learn R Programming

predictNMB (version 0.2.1)

print.predictNMBscreen: Print a summary of a predictNMBscreen object

Description

Print a summary of a predictNMBscreen object

Usage

# S3 method for predictNMBscreen
print(x, ...)

Value

print(x) returns x invisibly.

Arguments

x

A predictNMBscreen object.

...

Optional, ignored arguments.

Examples

Run this code
# \donttest{
get_nmb <- function() c("TP" = -3, "TN" = 0, "FP" = -1, "FN" = -4)
sim_screen_obj <- screen_simulation_inputs(
  n_sims = 50, n_valid = 10000, sim_auc = seq(0.7, 0.9, 0.1),
  event_rate = 0.1,
  fx_nmb_training = get_nmb, fx_nmb_evaluation = get_nmb
)
print(sim_screen_obj)
# }

Run the code above in your browser using DataLab