Description Usage Arguments Details Value Author(s)
Fit direct matching centrality model using Random Forest
1 |
data |
an object of the class |
formula |
A one-sided formula specifying how the different traits from both sets of species should be used to estimate species interactions. |
... |
Other parameters passed to randomForest. |
The Random Forest model is designed to be used on bipartite network where traits are available for both sets of species interacting in the network. It should not be used otherwise.
This function unfold the adjacency matrix and uses it as the response variable. As explanatory variables, the traits for each sets of species are repeated to match the length of the unfolded adjacency matrix but also the position.
If there are NAs in the adjacency matrix, the function will omit these values in the estimation of the model.
An object with a class alienFit and a class fitRF.
F. Guillaume Blanchet, Dominique Gravel, Steve Vissault
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.