Binary-class: Binary class: Binary predictions

Description Usage Details Slots

Description

A predx class for binary probabilistic predictions.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
Binary(x)

is.Binary(object)

## S4 method for signature 'Binary'
predx_to_json(x)

## S4 method for signature 'Binary'
as.data.frame(x, row.names = NULL, optional = FALSE,
  ...)

## S4 method for signature 'Binary'
transform_predx(x, to_class, ...)

Details

A single numeric probability that is greater than or equal to 0 and less than or equal to 1.

In JSON and CSV representations, this probability is named prob.

Slots

predx

A single numeric probability.


cdcepi/predx documentation built on Aug. 16, 2019, 6:49 p.m.