Hi all,
I'd like to include the levels of one of my variables in the title of a
plot. I'd like these factor levels to be concatenated. E.g. 'These are
the levels: setosa, versicolor, virginica'.
I've been working with this code but I don't get the desired results.
Any suggestions would be a
Just solved the first problem! I had to generate a plot and then
plotted. Now it's saved into pdf.
Only the second issue:
*2. I don't know how to write the code to get the 8 sex/day combinations.*
Thanks!
On 01/07/2014 12:59, Bea GD wrote:
> Thanks a lot for your reply Trevor!
x27;,sex1[i],day1[j],'.pdf',sep=''))
>
> data1<-subset(tips, sex==sex1[i] & day==day1[j])
> sp <- ggplot(data1,aes(x=total_bill, y = tip/total_bill))
> +geom_point(shape=1)
> plot(sp)
> dev.off()
> }
> }
>
>
>
> On Mon, Jun 30, 201
Hi,
I'm working with tips data from reshape package.
library(reshape2)
I'm saving my plots as pdf and I was wondering whether it was possible
to print a different pdf for each 'wrapped' plot. Using the code below
as an example, I'd like to get 8 independent pdf files for each sex ~
day co
I've tried several things but I don't manage to get this plot right. Any
help greatly appreciated!
I'm running a for loop to produce 4 plots at once. Each plot should only
show data points for a specific group (i.e. 4 plots for groups 1 to 4).
The coordinates of the points should be petal length
Thank you a lot Jim. Much cleaner now!
On 23.04.2014 12:01, Jim Lemon wrote:
On 04/23/2014 07:54 PM, Bea GD wrote:
Dear R users,
I've got over a hundred R objects in the workspace. They all follow a
pattern for years and months. Like this:
TT_1981_1, TT_1981_2, TT_1981_3, . . . . TT_19
Dear R users,
I've got over a hundred R objects in the workspace. They all follow a
pattern for years and months. Like this:
TT_1981_1, TT_1981_2, TT_1981_3, . . . . TT_1981_12
.
.
.
TT_2010_1, . . .
If now, I'd like to remove a selection of them, how is the best way to
do it? Currently I nee
Dear Frede,
Sorry for the late reply, yesterday I was out of office.
Thanks so much for your code! It has just compacted in a few lines what
I had written in several 'paragraphs'!
To be honest, I'm not familiar to work with lists in R. I think one of
its main advantages is the reduced size o
our e-mail disclaimer statement.
Please refer to www.vestas.com/legal/notice
If you have received this e-mail in error please contact the sender.
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
On Behalf Of Frede Aakmann Tøgersen
Sent: 16. april 2014 12:
Hi Frede,
Thanks so much for your reply!
I've tried what you said but I get the following error:
Error in spTransform(rasterDF1, crs("+init=epsg:21781")) :
load package rgdal for spTransform methods
I've checked search() and rgdal is before sp.
>search()
[1] ".GlobalEnv""package:
10 matches
Mail list logo