Hi,
this works: apply(mtcars[c("Mazda RX4", "Merc 450SLC", "Maserati Bora"), ],
1, plot)
How do you add labels and additional edit in such a plot? For instance I
want
mpg cyl disp hp dratwt qsec vs am gear carb to be plottet below the
X-axis
--
View this message in context:
http://r.
Because your header contains strings that are not legal names. Check out the
parameter check.name (cannot tell for sure since R is not available on the
iPad).
Sent from my iPad
On May 29, 2011, at 5:17, rmje wrote:
> http://r.789695.n4.nabble.com/file/n3558595/help_snap.jpg
>
> Why do R re
http://r.789695.n4.nabble.com/file/n3558595/help_snap.jpg
Why do R rename my rows and columns when loading it like in the image above?
--
View this message in context:
http://r.789695.n4.nabble.com/Plot-rows-of-CSV-tp3555898p3558595.html
Sent from the R help mailing list archive at Nabble.com.
Hi,
This is not fancy or especially elegant, but
## so you can see each plot at a time before moving on
par(ask = TRUE)
## apply() the function plot() to each row of the
## rows of mtcars you extracted by name
apply(mtcars[c("Mazda RX4", "Merc 450SLC", "Maserati Bora"), ], 1, plot)
I use as
http://r.789695.n4.nabble.com/file/n3555898/example.jpg
Hi,
I have a CSV-file (see image) that I would like to plot.
I want to make a plot-function where I only plot one row at the time. I want
to define which row to plot in the function based on the row-names
(non-numeric) in column 1 in the C
5 matches
Mail list logo