View source: R/Get_Jacobians_Functions.R
assemble_jacobian | R Documentation |
Turns interaction strengths from the tabular format (output of interaction_strengths()) into a community matrix.
assemble_jacobian(interaction_table, species_list, ij_col, ji_col)
interaction_table |
dataframe created by the interaction strengths function |
species_list |
list of species names in the community, can be taken from the abundance table |
ij_col |
name of the column that contains effects of species i on species j |
ji_col |
name of the column that contains effects of species j on species j |
To do this, species names from the abundance table is used to name the rows and columns of the matrix. The corresponding interaction strengths are then picked from the dataframe, based on the species name.
A community matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.