[R] [FORGED] Re: bar plot add space to group data

Rolf Turner r@turner @end|ng |rom @uck|@nd@@c@nz
Sun Aug 19 07:06:50 CEST 2018

On 19/08/18 16:58, Peter Langfelder wrote:

> My guess is that space has no effect because (1) the first element is
> zero and (2) the code in OP's message has
> barplot(gceac[,3], ...
> i.e. barplot does not see a matrix, only a vector.
> To the OP, try formatting the data to be plotted as a matrix, not as a
> vector, then the space argument should be useful to add space between
> groups.

Thanks Peter.  That would appear to be a sound analysis.  Thanks for the 



Technical Editor ANZJS
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276

More information about the R-help mailing list