powered by
This function is used in most plotting routines to check if the correct dataframe is passed.
check_df_names(data, expect, optional = NULL)
Dataframe to check.
Character vector giving the names of the expected columns
Character vector giving the names of optional columns. Default is NULL.
NULL
# NOT RUN { check_df_names(preprocess$biomass_age, expect = c("time", "species", "atoutput", "ages")) # }
Run the code above in your browser using DataLab