[R] a) t-tests on loess splines; b) linear models, type II SS for unbalanced ANOVA

2012-02-10 Thread Peter Davenport
ycerol/od~g*t*date,data=df.yx.t) Thereby enabling me to perform a factorial ANOVA. 2) There are missing values in the metabolite data, making the data unbalanced. I have read that one can use type II sum of squares in these circumstance, which I use without further adjusting

Re: [R] Plotting a grid of directly specified colours

2010-11-07 Thread Peter Davenport
olor2D.matplot(x,cellcolors=colmat,border=NA) #image() m = colmat mc = matrix(1:(nrow(m)*ncol(m)),nrow(m),ncol(m)) image(mc,col=m) On 5 November 2010 06:55, Jim Lemon wrote: > On 11/05/2010 03:00 AM, Peter Davenport wrote: > >> Dear R-help, >> >> Could any of you direct me

[R] Plotting a grid of directly specified colours

2010-11-04 Thread Peter Davenport
across any examples) . Best wishes and thank you, Peter Davenport [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posti

Re: [R] Control of axis limits in multiple panel lattice plots

2010-10-27 Thread Peter Davenport
I've found the solution to this in an old post of Deepayan's: lattice.options(axis.padding = list(numeric=0)) Best, Peter On 27 October 2010 09:28, Peter Davenport wrote: > Unwanted space (padding?) is introduced at the extremes of the x and y > axes of my lattice plots. >

[R] Control of axis limits in multiple panel lattice plots

2010-10-27 Thread Peter Davenport
)... xyplot(a~b|c,data=test.df ,scale=list(x=list(limits=c(0,2),at=seq(0,2,0.5))) ) 3) ...but not when relation="free": xyplot(a~b|c,data=test.df ,scale=list(x=list(relation="free",limits=list(c(0,1),