Peter Dalgaard-2 wrote
>
>> I fit a coxph model:
>>
>> coxphfit <- coxph(Surv(sampledLifetime, !sampledCensoredQ) ~ curpbc6 +
>> prevpbc6, sampledTimeSeries)
>>
>> Now I'm trying to predict the expected number of events using a new
>> dataset.
>> The documentation suggests that
>>
>> coxPre
I fit a coxph model:
coxphfit <- coxph(Surv(sampledLifetime, !sampledCensoredQ) ~ curpbc6 +
prevpbc6, sampledTimeSeries)
Now I'm trying to predict the expected number of events using a new dataset.
The documentation suggests that
coxPred <- predict(coxphfit, newdata = testTimeSeries, type="ex
2 matches
Mail list logo