save.boxplot | R Documentation |
Creates a datafile containing summary boxplot data to use as reference for site-specific plots
save.boxplot(data=NULL, annual=TRUE, species=TRUE, year=0, filename='bxp', ...)
data |
a CES dataset created by |
annual |
logical, if TRUE create boxplot summary data by year |
species |
logical, if TRUE create boxplot summary data by species |
year |
numeric, if species=TRUE, the year for which to create the summary |
filename |
a character string to use as the filestem, see details |
... |
further arguments passed to |
Saves the necessary data to create a boxplot summarising site-specific captures using siteplot
. If annual=TRUE, the filename will expand to 'filename_year.RData', if species=TRUE then the data will be saved to 'filename_speciesxxxx.RData', where xxxx is the year. If year is not specified then the last year present in the dataset will be assumed. Data may be reloaded by using load.boxplot
.
None. Used for its side effect of creating one or two (.RData) files.
Rob Robinson
siteplot
, load.boxplot
##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.