If Cluster is not provided, the prediction is outputted in long format per cluster, resulting in a longer data.frame than the newdata input
transformPredict(pred, model, newdata)# S4 method for `NULL`,lcModel
transformPredict(pred, model, newdata)
# S4 method for vector,lcModel
transformPredict(pred, model, newdata)
# S4 method for matrix,lcModel
transformPredict(pred, model, newdata)
# S4 method for data.frame,lcModel
transformPredict(pred, model, newdata)
The prediction object
The model for which the prediction is made.
A data.frame
containing the input data to predict for.
A data.frame with the predictions, or a list of cluster-specific prediction frames