Description Usage Arguments Details Value
fsRDA
runs an RDA using the rda
function
from the vegan
package, partialling out colBy
.
The RDA model is saved and deployed automatically by the
predict
method during test set validation.
1 |
object |
An |
top |
A numeric scalar or character vector. A numeric scalar indicates
the number of top features that should undergo feature selection. A character vector
indicates specifically which features by name should undergo feature selection.
Set |
colBy |
A character vector. Lists the columns in |
When colBy
is provided, it serves as the constraining matrix.
However, fsRDA
always returns the unconstrained scores.
As such, fsRDA
effectively partials out the contribution
of colBy
to the training set, then uses this rule
to partial out the contribution to the test set too.
Returns an ExprsArray
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.