[R] Re : Re : ReferenceClasses examples {method}

2011-01-28 Thread Marc Carpentier
I hadn't found any message on this subject. Nevertheless you're right again : I've posted this report on r-devel-list where it obviously belongs... Marc - Message d'origine De : David Winsemius À : Marc Carpentier Cc : r-help@r-project.org Envoyé le : Ven

[R] Re : ReferenceClasses examples {method}

2011-01-28 Thread Marc Carpentier
: David Winsemius À : Marc Carpentier Cc : r-help@r-project.org Envoyé le : Ven 28 janvier 2011, 17h 39min 59s Objet : Re: [R] ReferenceClasses examples {method} On Jan 28, 2011, at 11:05 AM, Marc Carpentier wrote: > Dear help, dear John Chambers, > I'm trying to learn OOP-possibiliti

[R] ReferenceClasses examples {method}

2011-01-28 Thread Marc Carpentier
Dear help, dear John Chambers, I'm trying to learn OOP-possibilities in R and I was going through the documentation 'ReferenceClasses {methods}'. (great work, by the way...) Reading associated Examples, something bothers me : it seems to me that there are errors in 'edit' and 'undo' methods. I th

[R] Re : Re : Re : Nomogram with multiple interactions (package rms)

2010-05-23 Thread Marc Carpentier
t I failed to fool your function. Had to try though... Marc - Message d'origine De : Frank E Harrell Jr À : Marc Carpentier Cc : r-help-request Mailing List Envoyé le : Jeu 20 mai 2010, 15h 30min 27s Objet : Re: Re : Re : [R] Nomogram with multiple interactions (package rms)

[R] Re : Re : Nomogram with multiple interactions (package rms)

2010-05-19 Thread Marc Carpentier
e, both shifted because of the sex own effect. (I badly draw it in my previous mail) I didn't see any example of this "adjustement" of nomogram to 'male' or 'female'... I hope I gave a clearer explanation and I'm not wrong about this unmentioned case. Mar

[R] Re : Nomogram with multiple interactions (package rms)

2010-05-19 Thread Marc Carpentier
ith : plot(nomorgam(f2, adj.to=list(sex="male")) #and "female" for the other one Marc - Message d'origine De : Frank E Harrell Jr À : Marc Carpentier ; r-help-request Mailing List Envoyé le : Mer 19 mai 2010, 22h 28min 51s Objet : Re: [R] Nomogram with multiple

[R] Nomogram with multiple interactions (package rms)

2010-05-19 Thread Marc Carpentier
still wants me to define interact=list(...) Thanks for any advice you might have (with adj.to or any alternative...) Marc Carpentier __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide htt

[R] Re : Re: Re: aregImpute (Hmisc package) : error in matxv(X, xcof)...

2010-05-05 Thread Marc Carpentier
Very useful code to investigate not only my problem ! I'll use it and keep it in mind for future works. Thank you very much for your help. And of course for the rest : packages, open-courses... among others ! Very helpful too. (Sorry for the wide dataset. I thought it would be attached and maybe

[R] Re : aregImpute (Hmisc package) : error in matxv(X, xcof)...

2010-05-04 Thread Marc Carpentier
Ok. I was afraid to refer to a known and obvious error. Here is a testing dataset (pb1.csv) and commented code (pb1.R) with the problems. Thanks for any help. Marc De : Uwe Ligges À : Marc Carpentier Cc : r-help@r-project.org Envoyé le : Mar 4 mai 2010, 13 h

[R] aregImpute (Hmisc package) : error in matxv(X, xcof)...

2010-05-04 Thread Marc Carpentier
Dear r-help list, I'm trying to use multiple imputation for my MSc thesis. Having good exemples using the Hmisc package, I tried the aregImpute function. But with my own dataset, I have the following error : Erreur dans matxv(X, xcof) : columns in a (51) must be <= length of b (50) De plus : Warn

[R] "ask=F" option with plot.gam

2009-10-08 Thread Marc Carpentier
Hello. I'd like to plot only one component smooth function of a gam model (for example the second) (library mgcv). So, I did : plot(my.gam, select=2, ask=F) But plot.gam doesn't seem to understand the "ask" option, so I can't deactivate the interactive plotting. I tried and failed by forcing it t

[R] problem with 'abline' in a regression with repeated measures

2009-03-12 Thread Marc Carpentier
Hi everybody. I'm just learning to use R. I've got a strange problem and I couldn't find any answer to my problem. So here am I. I want to visualize a model of regression on repeated measures : 5 measures (y) by x-value (lx for log10(x) ; lxf colonn is for as.factor) ; 5 x-values. I fail to use