predict.squant {squant} | R Documentation |
predict
assigns subgroup for each individual in a new dataset.
## S3 method for class 'squant'
predict(object, data, ...)
object |
The squant object, the signature of which will be applied
to the specified data. The output of |
data |
The data frame for prediction. |
... |
Ignored. |
This function assigns subgroup for each individual in a new dataset based on the derived signature contained within the squant object.
A data frame with the predicted subgroup in the last column.