Re: [R] unexpected plot behavior

2012-04-22 Thread Martin Renner
Thank you for the replies, Uwe and Marc. These are explanations that make perfect sense. However, shouldn't the behavior of plot.factor include the option of type = n for consistency with the default plot function? Best, Martin On 21 Apr 2012, at 08:18 , Marc Schwartz wrote: On Apr 21,

Re: [R] unexpected plot behavior

2012-04-22 Thread Marc Schwartz
On Apr 22, 2012, at 1:25 AM, Martin Renner wrote: Thank you for the replies, Uwe and Marc. These are explanations that make perfect sense. However, shouldn't the behavior of plot.factor include the option of type = n for consistency with the default plot function? Best, Martin I

[R] unexpected plot behavior

2012-04-21 Thread Martin Renner
When plotting a numerical vector against a factor, 'type=n' seems to have no affect, e.g. plot (1:10~factor (1:10), type = n) looks just like plot (1:10~factor (1:10)) Plotting a numerical against itself works as expected: plot (1:10, type = n) I see the same behavior under debian

Re: [R] unexpected plot behavior

2012-04-21 Thread Marc Schwartz
On Apr 21, 2012, at 9:49 AM, Martin Renner wrote: When plotting a numerical vector against a factor, 'type=n' seems to have no affect, e.g. plot (1:10~factor (1:10), type = n) looks just like plot (1:10~factor (1:10)) Plotting a numerical against itself works as expected: plot

Re: [R] unexpected plot behavior

2012-04-21 Thread Uwe Ligges
On 21.04.2012 16:49, Martin Renner wrote: When plotting a numerical vector against a factor, 'type=n' seems to have no affect, e.g. plot (1:10~factor (1:10), type = n) looks just like plot (1:10~factor (1:10)) This plots 10 boxplots and the data are passed from plot.formula.