QRMonPlot: Plot with data and regression curves.

Description Usage Arguments Details Value

View source: R/QRMon.R

Description

Plot the monad object data and regression functions (if any.)

Usage

1
2
3
4
5
6
7
8
9
QRMonPlot(
  qrObj,
  dataLineColor = NULL,
  dataPointsColor = "gray60",
  regressionCurvesColor = ~RegressionCurve,
  datePlotQ = FALSE,
  dateOrigin = "1970-01-01",
  echoQ = TRUE
)

Arguments

qrObj

An QRMon object.

dataLineColor

The color of the line connecting the data points. If NULL the data line is not plotted.

dataPointsColor

The color of the data points. If NULL the data points are not plotted.

regressionCurvesColor

The color of the regression curves. If NULL the regression curves are not plotted.

datePlotQ

Should the regressor axis have dates scale?

dateOrigin

Same as the argument origin of as.POSIXct.

echoQ

To echo the plot the or not?

Details

The plot is made with ggplot2. The data points are plotted after the data line. The plot is assigned to qrObj$Value.

Value

A QRMon object.


antononcube/QRMon-R documentation built on July 26, 2021, 1:07 p.m.