sitereport | R Documentation |
Generate a simple summary report (as MS Word documents) of captures at a site.
sitereport(cesdata, sitelist=NULL, year=0, template_file=NULL, outdir=getwd(), no.species=12, nyears=NA, verbose=TRUE)
cesdata |
a dataframe generated by |
sitelist |
character, a vector of sitenames for which to generate the reports; NULL and "all" are equivalent |
year |
specify a year to create a summary by species |
template_file |
the name of an RMarkdown template file |
outdir |
where to save the reports to |
nyears |
numeric, limit the number of years plotted to the number that the site operated, with this as a minimum. For example, if nyears=10 and the site has operated for 15 years, 15 bars (and dots) will be shown, but if the site has only operated for 5 years, then 10 bars will be plotted. |
no.species |
numeric, maximum number of species to include in the barplots. |
verbose |
logical, print a message when each site has been processed? |
Rob Robinson
## Not run:
data(ukdata)
sitereport(ukdata, sitelist=c('656','420'))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.