If newR
and newQ
are omitted, then as usual, predictions are based on the data used for the fit. Note that two types of predictions are possible in principle: predicting at new sites (by specifying a new set of environmental variables only, as newR
) and predicting for new taxa (by specifying a new set of traits only, as newQ
). Unfortunately, only predicting at new sites has been implemented at the moment! An issue with predicting to new taxa is that a main effect is included in the model for each taxon (by default), and the intercept would be unknown for a new species.
If predictive log-likelihoods are desired, a new data frame of abundances newL
would need to be specified, whose rows correspond to those of newR
and whose columns correspond to rows of newQ
.