View source: R/computeNetBenefit.R
computeNetBenefit | R Documentation |
Compute net benefit
computeNetBenefit(pt, y, pred, type = "treated")
pt |
probability threshold values |
y |
outcome as integer |
pred |
predictions (probabilities) |
type |
type of benefit plot |
A data frame with the copmuted net benefit
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.