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

2012-03-10 Thread Anthony Staines
other cases are not of interest to me. Any suggestions? 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

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,

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

2011-11-19 Thread Anthony Staines
ess - sum S2:S40 This type of thing is a common problem in my little world. 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 Sta

[R] Advice on obscuring unique IDs in R

2011-01-05 Thread Anthony Staines
.In$MRNr,serialize=FALSE, algo='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

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

2010-08-13 Thread Anthony Staines
27; checking whether JNI programs can be compiled... yes checking JNI data types... configure: error: One or more JNI types differ from the corresponding native type. You may need to use non-standard compiler flags or a different compiler in order to fix this. ERROR: configuration failed for pac

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] Passing the name of a variable to a function

2010-08-04 Thread Anthony Staines
raphs. All suggestions gratefully received! Best 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] Maptools runs out of memory installing the help files for spCbind-methods

2010-01-26 Thread Anthony Staines
in the bug tracker, or on the forums. Any suggestions? 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] Prediction from BMA

2009-10-07 Thread Anthony Staines
7;t 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