mypar: mypar

Description Usage Arguments Author(s) Examples

View source: R/mypar.R

Description

Called without arguments, this function optimizes graphical parameters for the RStudio plot window. bigpar uses big fonts which are good for presentations.

Usage

1
2
3
mypar(a = 1, b = 1, brewer.n = 8, brewer.name = "Dark2", cex.lab = 1,
  cex.main = 1.2, cex.axis = 1, mar = c(2.5, 2.5, 1.6, 1.1),
  mgp = c(1.5, 0.5, 0), ...)

Arguments

a

the first entry of the vector passed to mar

b

the second entry of the vector passed to mar

brewer.n

parameter n passed to brewer.pal

brewer.name

parameters name passed to brewer.pal

cex.lab

passed on to par

cex.main

passed on to par

cex.axis

passed on to par

mar

passed on to par

mgp

passed on to par

...

other parameters passed on to par

Author(s)

Rafael A. Irizarry

Examples

1
2
3
4

rafalab/rafalib documentation built on April 17, 2021, 6:47 p.m.