plot: Plot the CSO Live Register data and fitted spline model

Description Usage Arguments Value Examples

Description

Plots the CSO Live Register livereg_fit S3 object which contains the data and the Spline model fit.

Usage

1
plot(object, max.x.labels = 10, ...)

Arguments

object

livereg_fit S3 object

max.x.labels

the maximum number of x axis labels

...

additional args

Value

ggplot of the livereg_fit S3 object.

Examples

1
2
3
dat = load_livereg(use.offline.data = TRUE)
fit = fit(dat, spline.type = "smoothing", num.knots = 5)
plot(fit)

mstewie/liveregr documentation built on May 9, 2019, 5:54 a.m.