Dear R-helpers:

I am trying to use aalen{timereg} to run a model and found that it generates
the following message.
the data set I used is
> dim(indf)
[1] 13743    10

#R code:
fit_aalen <- aalen(Surv(durdxdeathp, die) ~ 1+factor(gender), indf)
#start of error message below
Non unique survival times: break ties !
Break ties yourself
Error in aalenBase(times, ldata, X, status, id, clusters, robust = robust,
:
  Calloc could not allocate (13840 of 8) memory
Calls: aalen -> aalenBase -> .C
In addition: Warning message:
In aalenBase(times, ldata, X, status, id, clusters, robust = robust,  :
  Reached total allocation of 1535Mb: see help(memory.size)
Calls: aalen -> aalenBase -> .C
#end of error messagea.


So, my questions are
(1) how to solve the non unique survival times problem?
Should I jitter the survival time by a little bit to break ties, or more
elegant solution exist?

(2) In general, how to solve memory problem?
set robust=0 may help based on the pdf document.
Any other suggestions?

I am new to R, your help will be highly appreciated!

Many thanks in advance.

-mary

	[[alternative HTML version deleted]]


