View source: R/prepareGradient.R
| prepareGradient | R Documentation |
prepares a user-made environmental and/or spatial gradient to be used for prediction
prepareGradient(hM, XDataNew, sDataNew)
hM |
a fitted |
XDataNew |
a dataframe of the new |
sDataNew |
a named list of the new |
The dataframe XDataNew is the for output as for input. The main purpose of this function is to prepare
the study design and random levels so that predictions can be made with the predict function.
Note that the difference between constructGradient and prepareGradient is that while
prepareGradient takes as input the new environmental and spatial data, constructGradient
generates those data to represent a new environmental gradient.
a named list with members XDataNew, studyDesignNew and rLNew
constructGradient, predict
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.