Description Usage Arguments Value
In order to make a matrix for RLQ analysis, we need to convert data.frames containing data into a matrix format. In these data.frames the first column holds what should be the rownames of the matrix.
1 | make_matrix(df, rownm = "species")
|
df |
a dataframe. should be all numeric except for the first column, which gives rownames. |
rownm |
name of the first column, which is to become rownames |
a numeric matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.