Description Usage Arguments Examples
View source: R/check-df-names.R
This function is used in most plotting routines to check if the correct dataframe is passed.
1 | check_df_names(data, expect, optional = NULL)
|
data |
Dataframe to check. |
expect |
Character vector giving the names of the expected columns |
optional |
Character vector giving the names of optional columns.
Default is |
1 2 3 4 | ## Not run:
check_df_names(preprocess$biomass_age, expect = c("time", "species", "atoutput", "ages"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.