Learn R Programming

alm (version 0.4.0)

alm_plot: Plot results of a call to the alm function.

Description

Plot results of a call to the alm function.

Usage

alm_plot(dat)

Arguments

dat
Output from alm_ids (character)

Value

A ggplot2 bar plot for `totalmetrics` or line plot for `history`.

References

See a tutorial/vignette for alm at http://ropensci.org/tutorials/alm_tutorial.html

See Also

alm_ids which is required to use this function.

Examples

Run this code
## Not run: 
# out <- alm_ids(doi='10.1371/journal.pone.0001543', info='detail')
# alm_plot(out)
# # works from info=totals too
# out <- alm_ids(doi='10.1371/journal.pone.0001543', info='totals')
# alm_plot(out)
# ## End(Not run)

Run the code above in your browser using DataLab