Re: [R] Need help using lattice

2021-02-09 Thread Parkhurst, David F.
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

Re: [R] Need help using lattice

2021-02-09 Thread Gerrit Draisma
=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

Re: [R] Need help using lattice

2021-02-09 Thread Parkhurst, David F.
    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

Re: [R] Need help using lattice

2021-02-09 Thread Parkhurst, David F.
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

Re: [R] Need help using lattice

2021-02-09 Thread Gerrit Draisma
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

Re: [R] Need help using lattice

2021-02-08 Thread John Kane
http://adv-r.had.co.nz/Reproducibility.html http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example On Mon, 8 Feb 2021 at 03:11, PIKAL Petr wrote: > Hi > > Please do not use HTML formating. > Please provide some toy data if you want to get reasonable help. > > You

Re: [R] Need help using lattice

2021-02-08 Thread PIKAL Petr
Hi Please do not use HTML formating. Please provide some toy data if you want to get reasonable help. You could also look at ggplot package, e.g. https://ggplot2.tidyverse.org/reference/facet_grid.html Cheers Petr > -Original Message- > From: R-help On Behalf Of Parkhurst, David > F.