Learn R Programming

primer (version 0.1)

myQ: Function to set parameters for a "quartz" device

Description

~~ Useful only in particular instances. ~~

Usage

myQ(w = 4, h = 4, mr = c(5, 4, 0.5, 1.5))

Arguments

w
~~ width ~~
h
~~height ~~
mr
~~margin (as in par(mar=c(5,4,4,2)))~~

Examples

Run this code
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (w = 4, h = 4, mr = c(5, 4, 0.5, 1.5)) 
{
    quartz(width = w, height = h)
    par(mar = mr)
  }

Run the code above in your browser using DataLab