Learn R Programming

tidylearn (version 0.1.0)

tl_predict_logistic: Predict using a logistic regression model

Description

Predict using a logistic regression model

Usage

tl_predict_logistic(model, new_data, type = "prob", ...)

Value

Predictions

Arguments

model

A tidylearn logistic model object

new_data

A data frame containing the new data

type

Type of prediction: "prob" (default), "class", "response"

...

Additional arguments