Thanks. What editor do you use? I'm working in a Mac, if that makes a
difference.
From: Gerrit Draisma
Date: Tuesday, February 9, 2021 at 5:10 PM
To: Parkhurst, David F.
Cc: r-help@r-project.org
Subject: Re: [R] Need help using lattice
Ha David,
I do not know.
It must be that your Apr
=factor(3:12, levels=1:12,
labels=AprToDec, ordered=TRUE))
I get + signs in front of monames and labels, again as expected, but then it
gives me another + sign. And if I try to add another ), it keeps giving me +
signs. What is happening here?
From: Gerrit Draisma
Date: Tuesday, Febr
labels=AprToDec, ordered=TRUE))
I get + signs in front of monames and labels, again as expected, but then it
gives me another + sign. And if I try to add another ), it keeps giving me +
signs. What is happening here?
From: Gerrit Draisma
Date: Tuesday, February 9, 2021 at 6:14 AM
To: Park
Thank you.
From: Gerrit Draisma
Date: Tuesday, February 9, 2021 at 6:14 AM
To: Parkhurst, David F.
Cc: r-help@r-project.org
Subject: Re: [R] Need help using lattice
Ha David,
Thanks for your reply.
For your last question, you have to change month into an ordered factor
variable:
library
Ha David,
Thanks for your reply.
For your last question, you have to change month into an ordered factor
variable:
library(lattice)
df <- expand.grid(site=c("een","twee","drie","vier","vijf"),
month=factor(3:12,levels=1:12,
labels=month.abb, ordere
David,
Is this what you are looking for?
library(lattice)
df <- expand.grid(site=c("een","twee","drie","vier","vijf"),
month=1:12)
df$conc <- rnorm(dim(df)[1])
dotplot(month~conc|site,data=df)
HTH Gerrit
__
R-help@r-project.org mailing
ry 7, 2021 8:02 PM
> > To: r-help@r-project.org
> > Subject: [R] Need help using lattice
> >
> > I have a dataframe comprising a vector of E. coli concentrations, a
> vector of
> > months when the samples were taken, and a vector of sampled sites. I�d
> > like t
id
> F.
> Sent: Sunday, February 7, 2021 8:02 PM
> To: r-help@r-project.org
> Subject: [R] Need help using lattice
>
> I have a dataframe comprising a vector of E. coli concentrations, a vector of
> months when the samples were taken, and a vector of sampled sites. I�d
>
I have a dataframe comprising a vector of E. coli concentrations, a vector of
months when the samples were taken, and a vector of sampled sites. I�d like to
produce a lattice with sites along the horizontal axis, and months on the
vertical. Each site-month box would then contain concentrations
9 matches
Mail list logo