## S3 method for class 'topics':
predict( object, newcounts, grp=NULL, ... )topics function.nrow(object$theta)-column matrix of multinomial phrase/category counts for new documents/observations.
Can be either a simple matrix or a simple_triplet_matrix.!object$admix, this is an optional group membership vector.tpx* functions.nrow(newcounts) by object$K matrix of document topic weights, or a membership vector if !object$admix.object$theta,
MAP in the (K-1)-dimensional logit transformed parameter space. If !object$admix, this instead returns the highest posterior probability topic for each document.