new_predictor_binary {pcsstools}R 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)

[Package pcsstools version 0.1.2 Index]