new_predictor_binary: Shortcut to create a predictor object for a binary variable

View source: R/predictor_class.R

new_predictor_binaryR Documentation

Shortcut to create a predictor object for a binary variable

Description

new_predictor_binary calls new_predictor

Usage

new_predictor_binary(p)

Arguments

p

probability of success (predictor mean)

Value

an object of class "predictor".

Examples

new_predictor_binary(p = 0.75)

pcsstools documentation built on Sept. 8, 2023, 5:25 p.m.