[Rd] dotchart.R and left margin

Stephen Weigand weigand.stephen at gmail.com
Mon Jul 1 17:37:01 CEST 2013


In trying to minimize the margin on the left hand side when using
dotchart I found what may be a typo in the code.

In the lines below from dotchart.R, should nmai[4L] be nmai[2L]?

    if (!(is.null(labels) && is.null(glabels))) {
nmai <- par("mai")
nmai[2L] <- nmai[4L] + max(linch + goffset, ginch) + 0.1
par(mai = nmai)

Thank you,

Stephen Weigand

Rochester, Minn. USA

More information about the R-devel mailing list