Re: [R] Ceiling to the nearest ten?

2008-01-14 Thread Rob Robinson
Perhaps not the most elegant but 10*ceiling(x/10) usually works for me... Cheers rob *** Want to know about Britain's birds? Try www.bto.org/birdfacts *** Dr Rob Robinson, Senior Population Biologist British Trust for Ornithology, The Nunnery, Thetford, Norfolk, IP24 2PU Ph: +44 (0)1842 7

Re: [R] things that are difficult/impossible to do in SAS or SPSSbut simple in R

2008-01-17 Thread Rob Robinson
- graphical output is so much easier in R, but for handling large 'messy' datasets SAS wins hands down... Cheers Rob *** Want to know about Britain's birds? Try www.bto.org/birdfacts *** Dr Rob Robinson, Senior Population Biologist British Trust for Ornithology, The Nunnery, Thetford

Re: [R] how to plot image() without painting a map (the background)

2008-02-19 Thread Rob Robinson
s birds? Try www.bto.org/birdfacts *** Dr Rob Robinson, Senior Population Biologist British Trust for Ornithology, The Nunnery, Thetford, Norfolk, IP24 2PU Ph: +44 (0)1842 750050 E: [EMAIL PROTECTED] Fx: +44 (0)1842 750030 W: http://www.bto.org "How can anyone be

[R] Help with gamm errors

2007-10-09 Thread Rob Robinson
t;, by = y1), random = list(garden = ~1), correlation = corAR1(form = ~1 | garden), family = binomial, data = count.data2) Question 2: Any hints on what might be causing this? Am I fitting the wrong (or too complicated a model)? Btw if it is relevant I am using mgcv_1.3-19 and