I've never seen this, and have no idea how to reproduce it.
For resloution you are going to have to give me a working example of the failure.

Also, per the posting guide, what is your sessionInfo()?

Terry Therneau

On 08/09/2012 04:11 AM, r-help-requ...@r-project.org wrote:
I have a couple of questions with regards to fitting a coxph model to a data
set in R:

I have a very large dataset and wanted to get the baseline hazard using the
basehaz() function in the package : 'survival'.
If I use all the covariates then the output from basehaz(fit), where fit is
a model fit using coxph(), gives 507 unique values for the time and the
corresponding cumulative hazard function. However if I use a subset of the
varaibles, basehaz() gives 611 values for the time and cumulative hazard.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to