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

View source: R/alm_plot.R

alm_plotR Documentation

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

## 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)

ropensci/alm documentation built on May 18, 2022, 9:47 a.m.