predict.clubprofit {clubpro} | R Documentation |
Predicted category for each observation.
Description
Predicted category for each observation.
Usage
## S3 method for class 'clubprofit'
predict(object, ...)
Arguments
object |
an object of class "clubprofit" produced by |
... |
ignored |
Details
Returns a character vector containing the name of the predicted category for each observed value.
Value
a table
Examples
mod <- club(rate ~ dose, data = caffeine)
predict(mod)
[Package clubpro version 0.6.2 Index]