[R] trend estimation for cohort study

2005-07-25 Thread Claude Messiaen - Urc Necker
Hi R Users, I wish to estimate if there is a trend in my relative risk obtained by coxph. The best i've found is a method from Greenland and Longnecker ( Am J Epidemiology 1992 vol 135 (11) - p 1301-9 ). But all I have is my relative risk and their std error. Is there a command in R that can

[R] memory cleaning

2005-07-22 Thread Claude Messiaen - Urc Necker
Hi R Users, After some research I haven't find what I want. I'm manipulating a dataframe with 70k rows and 30 variables, and I run out of memory when exporting this in a *.txt file after some computing I have used : memory.size()/1048576.0 [1] 103.7730 and I make my export :

[R] memory cleaning

2005-07-22 Thread Claude Messiaen - Urc Necker
Hi R Users Some precision : I'm under Windows 2k but I haven't authorisation to acces to other informations like RAM and all Claude [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list

[R] fitting Weibull distribution on observed percentiles

2005-07-13 Thread Claude Messiaen - Urc Necker
Hi , R Users I'm trying to fit a Weibull ditribution on observed percentiles using nls but it doesn't work. Here is the code I use: is there something wrong ? # p corresponds to percentiles # and q to the observed values # the datas are from the livebirth in france in 1998 distribution