View source: R/plot_proportion.R
wh_plot_proportion | R Documentation |
Four figures in total are created and saved to the disk if both catch and
biological data, pulled from the data warehouse, are passed to data_catch
and
data_bio
, respectively. This function will only work with data that has the
standard column names of data pulled from the warehouse.
wh_plot_proportion(
data_catch,
data_bio,
dir = file.path(getwd(), "plots"),
bar_width = c("n", "equal")
)
data_catch , data_bio |
Data frames returned from [pull_bio())]: R:pull_bio()) |
dir |
The directory where you would like the |
bar_width |
A string of |
Strings of the saved files.
Chantel R. Wetzel and Kelli F. Johnson
plot_proportion()
purrr::map()
## Not run:
test <- wh_plot_proportion(catch_nwfsc_combo, bio_nwfsc_combo)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.