[R] competing risk p value in a figure

2007-08-12 Thread phguardiol
Dear R users Is there a way to include in a figure the 2 sided p value obtained with the crr function in the package cmprsk Such as the one for cuminc: text(3.5,0.05, adj=0, paste(Gray test: p-value = , round(fit1$Tests[1,2],3))) thanks for your help ? Phil [[alternative HTML

[R] detection of outliers

2004-09-23 Thread Phguardiol
Hi, this is both a statistical and a R question... what would the best way / test to detect an outlier value among a series of 10 to 30 values ? for instance if we have the following dataset: 10,11,12,15,20,22,25,30,500 I d like to have a way to identify the last data as an outlier (only one

[R] survival analysis question

2004-04-19 Thread Phguardiol
Dear R users, I have survival estimates for 2 groups according to a factorial covariate (covar=1 or 2) and I d like to only plot the difference in term of survival between these 2 groups over time with 95%CI. Could someone send me a short script to do that since I m not an old R programmer ?

[R] menuRandomSample funciton in S+ - R?

2004-01-09 Thread Phguardiol
Hi all I cannot find the menuRandomSample function, which is available in S+, in R. Does it exist in R ? If so, what is its name ? Thanks Philippe [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list

[R] survival analysis question

2003-12-12 Thread Phguardiol
Hi, I m studying the effect of a binary covariate on the time to an event, ie, patient requiring treatment. It clearly appears that this covariate has an effect during the first year of life but not anymore thereafter. I d like to know until what age this covariate has a significant impact on

[R] Source package installation for WinXPpro

2003-10-09 Thread Phguardiol
Hi I d like to compile the source code from last Affy package for WinXPpro under R18beta however the doc is pretty poor regarding this process... I went to FAQ R Win then to http://www.stats.ox.ac.uk/pub/Rtools/ and downloaded in The essentials, tools and Perl 5.8.0, then MingW from

[R] Problem with R1.8beta

2003-09-30 Thread Phguardiol
Hi, I trying to use r.180beta on a XPPro PC with Athlon 2.0 I downloaded the zip file and when I unzipped it using winzip last version I had this message: C:\Program Files\R\rw1080beta\doc\manual\refman.pdf An error occured while trying to copy a file: The source file is corrupted. Anything to do

[R] in addition R1.8b install

2003-09-30 Thread Phguardiol
this problem also occurred later in the installation process: C:\Program Files\R\rw1080beta\doc\manual\refman.pdf C:\Program Files\R\rw1080beta\library\mva\html\loadings.html C:\Program Files\R\rw1080beta\library\ctest\html\fisher.test.html C:\Program Files\R\rw1080beta\library\base\chtml\base.chm