postr_classify: postr_classify

Description Usage Arguments Value

View source: R/classify.R

Description

Given a model and some threshold, estimate the classification for each observation.

Usage

1
2
3
postr_classify(model, threshold, newdata = NULL)

pr_classify(model, threshold, newdata = NULL)

Arguments

model

A supported model.

threshold

A numeric value in the range [0,1].

newdata

An optional dataframe of observations to classify instead of the observations used in building the model.

Value

A vector of logical classifications.


josherrickson/postr documentation built on Nov. 13, 2020, 11:23 a.m.