predict.idioml_result: Predict from an idiographic ML result

View source: R/idiographic_ml.R

predict.idioml_resultR Documentation

Predict from an idiographic ML result

Description

Predict from an idiographic ML result

Usage

## S3 method for class 'idioml_result'
predict(
  object,
  newdata = NULL,
  scope = c("pooled", "individual"),
  model = NULL,
  estimator = NULL,
  type = c("response", "class"),
  ...
)

Arguments

object

An idioml_result.

newdata

Optional new data. If NULL, the stored test-set predictions are returned.

scope

"pooled" or "individual".

model

Fitted model name to use. Default is the first fitted model.

estimator

Fitted estimator/backend for model. Default is that model's first fitted estimator.

type

"response" for numeric predictions/probabilities or "class" for classification labels.

...

Ignored.

Value

A data.frame of predictions.


idiographic documentation built on Aug. 4, 2026, 1:07 a.m.