Re: [R] obtainl survival curves for single strata

2013-02-01 Thread Terry Therneau
Stephen, I can almost but not quite get my arms around what you are asking. A bit more detail would help. Like cph.approve = what kind of object, generated by function __ But, let me make a guess: cph is the result of coxph, and the model has both covariates and a strata You

Re: [R] obtainl survival curves for single strata

2013-02-01 Thread Bond, Stephen
Dr. Therneau, You are correct about the fit: (cph.approve - coxph(Surv(fundterm,resp)~I(CommitAmt/1e5)+res+CommitedRate+dayflag+mth+strata(termfac), data=dfa, subset=(HedgeDate2012-11-15 p1!=FixedOpen), method=efron)) However the output from survfit has individuals in each column and the

[R] obtainl survival curves for single strata

2013-01-31 Thread Bond, Stephen
Dear useRs, What is the syntax to obtain survival curves for single strata on many subjects? I have a model based on Surv(time,response) object, so there is a single row per subject and no start,stop and no switching of strata. The newdata has many subjects and each subject has a strata and