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)

jackmwolf/pcsstools documentation built on July 7, 2024, 7:46 p.m.