Hi Luigi,
See in line.
On Wed, Aug 27, 2014 at 9:42 AM, Luigi Marongiu
wrote:
> Dear all,
> I would like to ask whether is possible to draw a scatterplot using
> the simple plot() function when the data is factorial. Without the
> addition of the argument factor(), plot() represent the factorial
With lattice graphics, yes
libary(lattice)
xyplot(y ~ z, data=my.data)
bwplot(y ~ z, data=my.data)
stripplot(y ~ z, data=my.data)
With base graphics, probably not.
More importantly, don't use attach. It will get you into trouble.
In this case, it didn't work for me because I had a variable name
nesday, August 27, 2014 8:42 AM
To: r-help@r-project.org
Subject: [R] scatterplot using plot() function with factorial data
Dear all,
I would like to ask whether is possible to draw a scatterplot using
the simple plot() function when the data is factorial. Without the
addition of the argument fact
Dear all,
I would like to ask whether is possible to draw a scatterplot using
the simple plot() function when the data is factorial. Without the
addition of the argument factor(), plot() represent the factorial data
on a linear scale whereas using this argument transforms plot() from a
scatterplot
4 matches
Mail list logo