make_wide_df | R Documentation |
Make a wide (usually site * taxa) data frame
make_wide_df(
bio_df,
context,
taxa_col = "taxa",
num_col = "use_cover",
num_col_NA = 0
)
bio_df |
Dataframe containing the site and taxa data in long format. |
context |
Character. Name of columns defining context. |
taxa_col |
Character. Name of column containing taxa. |
num_col |
Character. Name of column containing numeric abundance data ( usually 'cover' for plants). |
num_col_NA |
Value to use to fill NA in wide table. |
wide format version of bio_df
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.