theme_csvd: A ggplot2 theme that matches the defaults of the factorial...

Description Usage Arguments Author(s) Examples

View source: R/theme_csvd.R

Description

theme_ptca A ggplot2 theme that matches the defaults of the factorial figures in PTCA4CATA.

Usage

1
theme_csvd(mire = TRUE, x0 = 0, y0 = 0)

Arguments

mire

(Default = TRUE) when TRUE plot the factorial axis at values x0 and y0.

x0

(Default = 0) the X-axis origin. Relevant only when mire = TRUE.

y0

(Default = 0) the Y-axis origin. Relevant only when mire = TRUE.

Author(s)

Vincent Guillemot

Examples

1
2
3
4
5
6
7
8
## Not run: 
x = c(5, 8, 1, 70)
y = c(10, 12, 20, 50)
p <-  ggplot(as.data.frame(cbind(x,y)),
                 aes(x = x, y = y)) +
                    geom_point(size=2, shape=19) + theme_ptca()

## End(Not run)

vguillemot/csvd documentation built on May 17, 2019, 8:16 p.m.