predict.cowbell: Performs a prediction on the cowbell model that has been...

Description Usage Arguments Value Examples

Description

Implementation of the predict generic. The provided data has to have the exact column names that were used when the cowbell analysis was done. If no data is provided the original data is used.

Usage

1
2
## S3 method for class 'cowbell'
predict(object, newdata, ...)

Arguments

object

The data obtained by function generateCowbell.

newdata

The data set to perform the prediction on. If omitted the original data is used.

...

Just for compatibility purposes.

Value

The vector with the predicted data.

Examples

1
2
3
4
5
# Run a simplified anaylsis with 10 iterations only (to save time.)
concept<-generateCowbellConcept(Fun ~ Fluency * Absorption, 1, 9, 1, 7, 1, 7)
data(allFun)
test<-generateCowbell(concept, allFun, 10)
predict(test)

Carbonfreezer/cowbell documentation built on May 8, 2019, 7:50 p.m.