## S3 method for class 'pls':
predict( object, newdata, type="response", ... )
pls
function.nrow(object$loadings)
-column matrix of
multinomial phrase/category counts for new documents/observations.
Can be either a simple matrix
or a simple_triplet_matrix
.nrow(newcounts)
by ncol(object$loadings)
matrix of pls directions for each new observation.type="response"
with regression coefficients taken from object$fwdmod
.