Skip to contents

Predictions from Cognitive Models (class cm)

Usage

# S3 method for cm
predict(object, newdata = NULL, ..., type = "response")

Arguments

object

A cognitive model object of class 'cm'

newdata

A data.frame with new data to predict

...

Additional cognitive models

type

A string, what to predict, usually "response", but other values may be possible, see the help pages of the model you use.

Value

A vector or matrix of predictions, if multiple models are supplied using ..., returns a list containing the predictions for each model