Description Usage Arguments Value Author(s) Examples
View source: R/plot_trajectories.R
This function plots the temporal tendencies in #SARS-CoV-2(+) and its proportional abundance each log-transformed data and insets with corresponding non-transformed data.
1 2 3 4 5 6 7 8 9 | plot_trajectories(
inc.df,
propab.df,
disease,
plot.inc = TRUE,
plot.propab = TRUE,
saveplots = TRUE,
saveplots.ext = ".png"
)
|
inc.df: |
dataframe. The incidence dataframe. |
propab.df: |
dataframe. The proportional abundance dataframe. #' @param disease: *character*. Name of the disease. It will apply if the plots are saved. |
plot.inc: |
|
plot.propab: |
|
saveplots: |
|
saveplots.ext: |
character. The extension for the saved figures admitted by |
This function returns to your global environment an object list named plotTraj
with the plot(s) created. Also, if saveplots
is TRUE
, a folder named plots
is created in your wd
.
Simon P Castillo spcastil@uc.cl.
1 | plot_trajectories(inc.df=inc_df, propab.df=propab_df, plot.inc=TRUE, plot.propab=TRUE, saveplots= TRUE, saveplots.ext= ".png")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.