predict assigns subgroup for each individual in a new dataset.
# S3 method for squant
predict(object, data, ...)A data frame with the predicted subgroup in the last column.
The squant object, the signature of which will be applied
to the specified data. The output of squant function.
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.