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

2012-02-10 Thread Peter Davenport
. I have read that one can use type II sum of squares in these circumstance, which I use without further adjusting for the differences in group sizes: car::Anova(m2,type=2) Thank you for getting this far. Any guidance would be much appreciated! Peter Davenport [[alternative

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

2010-11-07 Thread Peter Davenport
) #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 j...@bitwrit.com.au wrote: On 11/05/2010 03:00 AM, Peter Davenport wrote: Dear R-help, Could any of you direct me to a function for plotting a grid of colours, directly

[R] Plotting a grid of directly specified colours

2010-11-04 Thread Peter Davenport
can be visualised in a single heatmap (the variable are fold-change and a q-value, a significance measure). If anyone has any thoughts/warnings to offer re this idea then I'd love to hear them (it must have been tried before, but I've not come across any examples) . Best wishes and thank you, Peter

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

2010-10-27 Thread Peter Davenport
=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),c(0,2)),at=seq(0,2,0.5))) ) Peter Davenport

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 pwdavenp...@gmail.com wrote: Unwanted space (padding?) is introduced at the extremes of the x and y axes of my lattice plots