prettify: Prettier Plots (or Other Stuff, at Some Point)

Description Usage Arguments Examples

Description

Prettier Plots (or Other Stuff, at Some Point)

Usage

1
prettify(expr, family = "Palatino", grid = TRUE, box = FALSE)

Arguments

expr

An R expression, usually resulting in a plot

family

font family, to be matched with latex font

grid

logical, should a grid be drawn

box

logical, should plots have a surrounding box (bty = "o")

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
library(seasonal)
m <- seas(AirPassengers)

prettify(pacf(resid(m), main = ""))
prettify(plot(spectrum(diff(resid(m)), method = "ar"), main = ""))
prettify(plot(m, main = "", xlab = ""))
prettify(monthplot(m, main = "", xlab = ""))
prettify(plot(AirPassengers))
prettify(plot(density(resid(m)), main = ""))
prettify(qqnorm(resid(m), main = ""))

## End(Not run)

christophsax/x13story documentation built on May 13, 2019, 7:06 p.m.