Re: [R] Time-dependent coefficients in a Cox model with categorical variants

2018-01-18 Thread Jeff Newmiller
Offlist... for your information... It is unfair to suggest that the mailing list participants are at fault for using old software. Even if the mailing list participants use email programs that can handle HTML, any email that goes through the list gets the formatting stripped, which leaves it

Re: [R] Time-dependent coefficients in a Cox model with categorical variants

2018-01-18 Thread Therneau, Terry M., Ph.D.
First, as others have said please obey the mailing list rules and turn of First, as others have said please obey the mailing list rules and turn off html, not everyone uses an html email client. Here is your code, formatted and with line numbers added. I also fixed one error: "y" should be

Re: [R] Time-dependent coefficients in a Cox model with categorical variants

2018-01-15 Thread David Winsemius
> On Jan 15, 2018, at 12:58 AM, Max Shell wrote: > > Suppose I have a dataset contain three variants, looks like >> head(dta) > > SextumorsizeHistology time status >01.52 12.1000 0 >1

[R] Time-dependent coefficients in a Cox model with categorical variants

2018-01-15 Thread Max Shell
Suppose I have a dataset contain three variants, looks like > head(dta) SextumorsizeHistology time status 01.52 12.1000 0 11.81 38.4000 0 . Sex: 1