[R] 回覆︰ filled circle with a black line on the rim in pch function

2015-12-01 Thread Christine Lee via R-help
quot;,        fill=c("gray","black"),        xlab=list("Month",cex=1.5),        ylab=list("Abundance",cex=1.5),        index.cond=list(c(1,2,3,4)),        auto.key = T,        layout=c(4,1)) Jim On Tue, Dec 1, 2015 at 5:20 PM, Christine Lee via R-help wrote:

[R] filled circle with a black line on the rim in pch function

2015-11-30 Thread Christine Lee via R-help
Dear All, I have an embarssing question, I want to put a black line as a rim on the grey symbol in the xyplot, to no avail. . I thought it was easy, by changing the pch code from 16 to 21. I was surpised that I ran into difficulty. My original script is as follows: library(lattice) xyplot(A

[R] 回覆︰ adding a line across plots in xy plot with panel.abline

2015-09-14 Thread Christine Lee via R-help
        panel.xyplot(x,y, ...)           panel.abline(h=1,lty=2,lwd=3)         } ) Regards Duncan Duncan Mackay Department of Agronomy and Soil Science University of New England Armidale NSW 2351 Email: home: mac...@northnet.com.au -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On

[R] adding a line across plots in xy plot with panel.abline

2015-09-13 Thread Christine Lee via R-help
Dear all, I want to draw a line at DI=1 across all four graphs in the xy plot, I have used panel.abline, but I failed to do so, does any one has an idea of what has went wrong? structure(list(Date = structure(c(6L, 7L, 2L, 4L, 13L, 17L, 5L, 12L, 4L, 11L, 14L, 9L, 7L, 2L, 4L, 13L, 10L, 17L, 5L,

[R] xyplot colour points and layout

2015-08-26 Thread Christine Lee via R-help
Dear All, I have tried to plot graphs of one row of four figures for each station. In each graph, black points indicate data in the year of 2002, denoted as Y2002, whereas grey points indicate data in the year of 2014, denoted as Y2014. I ended up with 2x2 plots with all data points in black.

Re: [R] date format in xyplot

2015-08-18 Thread Christine Lee via R-help
ion to get them names(trellis.par.get() ) and going further trellis.par.get()$superpose.symbol will give you the values for superpose.symbol Beware: Do not make the labels etc so big that the axis labels are hard to read. Think of final size Regards Duncan Duncan Mackay Department of Agronomy a

[R] 回覆︰ [FORGED] date format in xyplot

2015-08-17 Thread Christine Lee via R-help
Thanks Mr. Turner, This puzzles me.  Why do we come out with different axis labels with the same command?  Is this because of my R version or my computer?  Regards,Christine Rolf Turner 於 2015年08月18日 (週二) 2:02 PM 寫道﹕ See inline below. On 18/08/15 16:15, Christine Lee via R-help

[R] date format in xyplot

2015-08-17 Thread Christine Lee via R-help
To whom it may concern, I have tried to plot some numbers against time with the time on the X-axis shown as "Jan", "Feb", etc. I used the following commands: Raw<-structure(list(Date = structure(c(6L, 7L, 2L, 4L, 12L, 9L, 7L, 2L, 4L, 12L), .Label = c("1/10", "1/11", "11/11", "12/11", "13/10",

Re: [R] strip levels

2015-04-06 Thread Christine Lee via R-help
rStrips ... = your code Regards Duncan Mackay Department of Agronomy and Soil Science University of New England Armidale NSW 2351 Email: home: mac...@northnet.com.au -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Christine Lee via R-help Sen

Re: [R] strip levels

2015-04-06 Thread Christine Lee via R-help
has gone wrong? Many thanks. Regards, Christine 2015年4月6日 星期一,Michael Dewey 寫道﹕ 主題: Re: [R] strip levels 收件人: "Sarah Goslee" , "Chr 副本(CC): "r-help" 日期: 2015年4月6日,星期一,下午11:15 See inline On 06/04/2015 15:39, Sarah Goslee wrote: > Hi, >

[R] strip levels

2015-04-06 Thread Christine Lee via R-help
To whom it may help, I am new to R. I have been tring to have a lattice plot in two strip levels: 4 stations in 2 years. I type in: histogram(~Raw.no10$Width|Raw.no10$Station*Raw.no10$Year, data=Raw.no10, layout=c(4,2),nin=30,xlab="Prosomal Width (mm)", strip=strip.custom(bg='white'),ylab=