predict.squant {squant} | R Documentation |
SQUANT prediction
Description
predict
assigns subgroup for each individual in a new dataset.
Usage
## S3 method for class 'squant'
predict(object, data, ...)
Arguments
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. |
Details
This function assigns subgroup for each individual in a new dataset based on the derived signature contained within the squant object.
Value
A data frame with the predicted subgroup in the last column.
[Package squant version 1.1.5 Index]