plot,report_mig_interannual,missing-method {stacomiR} | R Documentation |
Plot method for report_mig_interannual
Description
Several of these plots are scaled against the same year,i.e.the comparison is based on
year 2000, meaning that day 1 would correspond to the first date of 2000, which is also a
saturday, the last day of the week.
Usage
## S4 method for signature 'report_mig_interannual,missing'
plot(
x,
plot.type = "standard",
timesplit = "month",
year_choice = NULL,
alpha = 1,
silent = FALSE
)
Arguments
x |
An object of class report_mig_interannual-class
|
plot.type |
Default standard
|
timesplit |
Used for plot.type barchart or dotplot, Default month other possible values are day, week, 2 weeks, month
French values "jour" "semaine" "quinzaine" "mois" are also accepted.
|
year_choice |
The year chosen to calculate statistics which will be plotted against the historical series,
should be a character vector of length one e.g. '2012', default NULL, when NULL the latest year is selected.
|
alpha |
argument passed when plot.type=barchart, pointrange, standard default 1
|
silent |
Stops displaying the messages.
- plot.type="line"
One line per daily report_mig, a reference year is highlighted with year_choice, this graph
does not react to argument timesplit
- plot.type="standard"
The year selected in year_choice is displayed against a ribbon of historical values
- plot.type="density"
Creates density plot to compare seasonality, data computed by 15 days period, this graph ignore
the timesplit argument
- plot.type="step"
Creates step plots to compare seasonality, the year chosen in year_choice (or the interface if silent =FALSE, and year_choice=NULL, is the
latest if silent=TRUE, or it can be selected in the droplist. It is highlighted against the other with a dotted line
- plot.type="barchart"
Comparison of daily migration of one year against periodic migration for the other years available in the chronicle,
different periods can be chosen with argument timesplit
- plot.type="pointrange"
Pointrange graphs, different periods can be chosen with argument timesplit
- plot.type="seasonal"
Plot to display summary statistics about the migration period, different periods can be chosen with argument timesplit,
this graph ignores argument year_choice
|
Value
Nothing, called for its side effect of plotting
Author(s)
Cedric Briand cedric.briand@eptb-vilaine.fr
[Package
stacomiR version 0.6.1
Index]