predict.cowbell {cowbell} | R Documentation |
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.
## S3 method for class 'cowbell'
predict(object, newdata, ...)
object |
The data obtained by function |
newdata |
The data set to perform the prediction on. If omitted the original data is used. |
... |
Just for compatibility purposes. |
The vector with the predicted data.
# 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)