plot_betatraj: Plot beta distribution estimates evolution

Description Usage Arguments Value Author(s) Examples

View source: R/plot_betatraj.R

Description

This function plots the temporal evolution of the estimated parameters of beta distribution $\hat\alpha$ and $\hat\beta$

Usage

1
plot_betatraj(CPAD, disease, saveplot = TRUE, saveplot.ext = ".png")

Arguments

CPAD:

dataframe. The dataframe returned by analyse_CPAD.

disease:

*character*. Name of the disease. It will apply if the plots are saved.

saveplots:

TRUE or FALSE. Save the plots in your wd.Default TRUE.

saveplots.ext:

character. The extension for the saved figures admitted by ggsave (e.g., ".png", ".svg").Default ".png".

Value

This function return to your global environment an object list named plotbetatraj with the plot(s) created. Also, if saveplot is TRUE, a folder named betaplots in the folder plots is created in your wd.

Author(s)

Simon P Castillo spcastil@uc.cl.

Examples

1
plot_betatraj(CPAD, saveplot=TRUE, saveplot.ext= ".png")

simonpcastillo/CPAD documentation built on Dec. 31, 2020, 7:27 a.m.