[R] Help with confidence intervals for gam model using mgcv

2012-03-10 Thread Anthony Staines
? Am I missing something very obvious? Best wishes, Anthony Staines -- Anthony Staines, Professor of Health Systems, School of Nursing and Human Sciences, DCU, Dublin 9,Ireland. Tel:- +353 1 700 7807. Mobile:- +353 86 606 9713 http://astaines.eu/ __ R

[R] Advice on recoding a variable depending on another which contains NAs

2011-11-19 Thread Anthony Staines
. Is there a better/less klutzy/smarter way of solving it than creating a new variable each time? Please bear in mind that it is critical, for later analysis, to keep the missing values in SCQ1. Best wishes, Anthony Staines -- Anthony Staines, Professor of Health Systems, School of Nursing and Human

Re: [R] Advice on recoding a variable depending on another which contains NAs

2011-11-19 Thread Anthony Staines
Ah, so that's how ifelse gets used... Presumably if I had more than 2 non-missing values in the control variable, I could use it several times. Thank you very much, for a really useful answer, and thanks for getting back so quickly! All the best, Anthony Staines On 11/19/11 23:55, David

[R] Advice on obscuring unique IDs in R

2011-01-05 Thread Anthony Staines
='md5') I could do this in Perl, but I'd have to do quite a bit of work to get it installed. Any quick suggestions? Anthony Staines -- Anthony Staines, Professor of Health Systems Research, School of Nursing, Dublin City University, Dublin 9,Ireland. Tel:- +353 1 700 7807. Mobile:- +353 86 606 9713

[R] Installing rJava fails on Gentoo (amd64) with Sun JDK - checking JNI data types... error

2010-08-13 Thread Anthony Staines
need to use non-standard compiler flags or a different compiler in order to fix this. ERROR: configuration failed for package ‘rJava’ * removing ‘/usr/lib64/R/library/rJava’ All advice gratefully received -- Anthony Staines, Professor of Health Systems Research, School of Nursing, Dublin City

[R] Passing the name of a variable to a function

2010-08-04 Thread Anthony Staines
wishes, Anthony Staines -- Anthony Staines,  Professor of Health Systems Research, School  of Nursing, Dublin City University, Dublin 9, Ireland. Tel:- +353 1 7007807. Mobile:- +353 86 606 9713 __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] Passing the name of a variable to a function

2010-08-04 Thread Anthony Staines
Thanks to Joshua and Erik for very helpful suggestions. This clarifies what I had found to be a tricky area of the documentation! Best wishes, Anthony Staines -- Anthony Staines,  Professor of Health Systems Research, School  of Nursing, Dublin City University, Dublin 9, Ireland. Tel:- +353 1

[R] Maptools runs out of memory installing the help files for spCbind-methods

2010-01-26 Thread Anthony Staines
? Am I missing something that it needs? Anthony -- Anthony Staines, Professor of Health Systems Research, School of Nursing, Dublin City University, Dublin 9,Ireland. Tel:- +353 1 700 7807. Mobile:- +353 86 606 9713 __ R-help@r-project.org mailing list

[R] Prediction from BMA

2009-10-07 Thread Anthony Staines
a predict.BMA or similar, that I can see. What's the recommended way to produce predictions (i.e. fitted values, or estimates from new data) from these BMA models? Best wishes, Anthony Staines -- Anthony Staines, Professor of Health Systems Research, School of Nursing, Dublin City University, Dublin 9