computeNetBenefit: Compute net benefit

View source: R/computeNetBenefit.R

computeNetBenefitR Documentation

Compute net benefit

Description

Compute net benefit

Usage

computeNetBenefit(pt, y, pred, type = "treated")

Arguments

pt

probability threshold values

y

outcome as integer

pred

predictions (probabilities)

type

type of benefit plot

Value

A data frame with the copmuted net benefit


mikeniemant/nbs documentation built on June 23, 2022, 4:52 a.m.