ggplot_seasonal_ranges: ggplot seasonal ranges

Description Usage Arguments

View source: R/ggplot_seasonal_ranges.R

Description

ggplot seasonal ranges

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
ggplot_seasonal_ranges(
  x,
  show_limits = TRUE,
  ...,
  outlier.colour = "black",
  outlier.color = "black",
  outlier.fill = "black",
  outlier.shape = 19,
  outlier.size = 1e-05,
  outlier.stroke = 0.5,
  outlier.alpha = 0.01,
  na.rm = FALSE,
  show.legend = NA,
  inherit.aes = TRUE,
  lwd = 0.1
)

## Default S3 method:
ggplot_seasonal_ranges(
  x,
  show_limits = TRUE,
  ...,
  outlier.colour = "black",
  outlier.color = "black",
  outlier.fill = "black",
  outlier.shape = 19,
  outlier.size = 1e-05,
  outlier.stroke = 0.5,
  outlier.alpha = 0.01,
  na.rm = FALSE,
  show.legend = NA,
  inherit.aes = TRUE,
  lwd = 0.1
)

## S3 method for class 'seasonal_ranges'
ggplot_seasonal_ranges(
  x,
  show_limits = TRUE,
  ...,
  outlier.colour = "black",
  outlier.color = "black",
  outlier.fill = "black",
  outlier.shape = 19,
  outlier.size = 1e-05,
  outlier.stroke = 0.5,
  outlier.alpha = 0.01,
  na.rm = FALSE,
  show.legend = NA,
  inherit.aes = TRUE,
  lwd = 0.1
)

## S3 method for class 'list'
ggplot_seasonal_ranges(
  x,
  show_limits = TRUE,
  ...,
  outlier.colour = "black",
  outlier.color = "black",
  outlier.fill = "black",
  outlier.shape = 19,
  outlier.size = 1e-05,
  outlier.stroke = 0.5,
  outlier.alpha = 0.01,
  na.rm = FALSE,
  show.legend = NA,
  inherit.aes = TRUE,
  lwd = 0.1
)

Arguments

x

an object of class dataframe, matrix, or RasterStack. Names of x should be dates in the format X%Y.%m.%d.

show_limits

Logical.Should the differents ranges be delineated with lines?

...

Additional arguments passed to seasonal_ranges. This is not used with ggplot_seasonal_ranges.seasonal_ranges.

outlier.colour

Default aesthetics for outliers. Set to NULL to inherit from the aesthetics used for the box.

In the unlikely event you specify both US and UK spellings of colour, the US spelling will take precedence.

Sometimes it can be useful to hide the outliers, for example when overlaying the raw data points on top of the boxplot. Hiding the outliers can be achieved by setting outlier.shape = NA. Importantly, this does not remove the outliers, it only hides them, so the range calculated for the y-axis will be the same with outliers shown and outliers hidden.

outlier.color

Default aesthetics for outliers. Set to NULL to inherit from the aesthetics used for the box.

In the unlikely event you specify both US and UK spellings of colour, the US spelling will take precedence.

Sometimes it can be useful to hide the outliers, for example when overlaying the raw data points on top of the boxplot. Hiding the outliers can be achieved by setting outlier.shape = NA. Importantly, this does not remove the outliers, it only hides them, so the range calculated for the y-axis will be the same with outliers shown and outliers hidden.

outlier.fill

Default aesthetics for outliers. Set to NULL to inherit from the aesthetics used for the box.

In the unlikely event you specify both US and UK spellings of colour, the US spelling will take precedence.

Sometimes it can be useful to hide the outliers, for example when overlaying the raw data points on top of the boxplot. Hiding the outliers can be achieved by setting outlier.shape = NA. Importantly, this does not remove the outliers, it only hides them, so the range calculated for the y-axis will be the same with outliers shown and outliers hidden.

outlier.shape

Default aesthetics for outliers. Set to NULL to inherit from the aesthetics used for the box.

In the unlikely event you specify both US and UK spellings of colour, the US spelling will take precedence.

Sometimes it can be useful to hide the outliers, for example when overlaying the raw data points on top of the boxplot. Hiding the outliers can be achieved by setting outlier.shape = NA. Importantly, this does not remove the outliers, it only hides them, so the range calculated for the y-axis will be the same with outliers shown and outliers hidden.

outlier.size

Default aesthetics for outliers. Set to NULL to inherit from the aesthetics used for the box.

In the unlikely event you specify both US and UK spellings of colour, the US spelling will take precedence.

Sometimes it can be useful to hide the outliers, for example when overlaying the raw data points on top of the boxplot. Hiding the outliers can be achieved by setting outlier.shape = NA. Importantly, this does not remove the outliers, it only hides them, so the range calculated for the y-axis will be the same with outliers shown and outliers hidden.

outlier.stroke

Default aesthetics for outliers. Set to NULL to inherit from the aesthetics used for the box.

In the unlikely event you specify both US and UK spellings of colour, the US spelling will take precedence.

Sometimes it can be useful to hide the outliers, for example when overlaying the raw data points on top of the boxplot. Hiding the outliers can be achieved by setting outlier.shape = NA. Importantly, this does not remove the outliers, it only hides them, so the range calculated for the y-axis will be the same with outliers shown and outliers hidden.

outlier.alpha

Default aesthetics for outliers. Set to NULL to inherit from the aesthetics used for the box.

In the unlikely event you specify both US and UK spellings of colour, the US spelling will take precedence.

Sometimes it can be useful to hide the outliers, for example when overlaying the raw data points on top of the boxplot. Hiding the outliers can be achieved by setting outlier.shape = NA. Importantly, this does not remove the outliers, it only hides them, so the range calculated for the y-axis will be the same with outliers shown and outliers hidden.

na.rm

If FALSE, the default, missing values are removed with a warning. If TRUE, missing values are silently removed.

show.legend

logical. Should this layer be included in the legends? NA, the default, includes if any aesthetics are mapped. FALSE never includes, and TRUE always includes. It can also be a named logical vector to finely select the aesthetics to display.

inherit.aes

If FALSE, overrides the default aesthetics, rather than combining with them. This is most useful for helper functions that define both data and aesthetics and shouldn't inherit behaviour from the default plot specification, e.g. borders().

lwd

Numeric. line width


Issoufou-Liman/growingSeason documentation built on Jan. 23, 2020, 3:43 a.m.