computeBaseNetBenefit: Compute base net benefit

View source: R/computeBaseNetBenefit.R

computeBaseNetBenefitR Documentation

Compute base net benefit

Description

Compute base net benefit

Usage

computeBaseNetBenefit(
  y,
  xstart = 0.01,
  xstop = 0.99,
  step = 0.01,
  type = "treated"
)

Arguments

y

outcome as integer

xstart

start threshold

xstop

stop threshold

step

step threshold

type

type of net benefit

Value

A data frame with the computed base net benefit


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