xmr_chart: Generate the XMR chart for XMR data

Description Usage Arguments Examples

View source: R/xmR_chart.R

Description

Useful for diagnostics on xmr, and just visualizing the data.

Usage

1
2
3
4
xmr_chart(df, time, measure, boundary_linetype = "dashed",
  central_linetype = "dotted", boundary_colour = "#d02b27",
  point_colour = "#7ECBB5", point_size = 2, line_width = 0.5,
  text_size = 9)

Arguments

df

Output from xmR()

time

Time column

measure

Measure

boundary_linetype

Type of line for upper and lower boundary lines. Defaults to "dashed".

central_linetype

Type of line for central line. Defaults to "dotted".

boundary_colour

Colour of line for upper and lower boundary lines. Defaults to "#d02b27".

point_colour

Colour of points. Defaults to "#7ECBB5".

point_size

Size of points. Defaults to 2.

line_width

Width of lines. Defaults to 0.5.

text_size

Size of chart text. Defaults to 9.

Examples

1
## Not run:  xmr_chart(df, "Year", "Measure") 

Zanidean/xmrr documentation built on Aug. 19, 2018, 8:30 p.m.