survival icon indicating copy to clipboard operation
survival copied to clipboard

Survival package for R

Results 30 survival issues
Sort by recently updated
recently updated
newest added

Follow-up to #252 - All tests now pass under strict requirements for partial matching - The .Rout.save files were updated to reflect the current state of the package so that...

``` ft=coxph(Surv(time, status) ~ age + strata(sex) + frailty(inst, df=4), lung) predict(ft) ``` This gives an error message. ``` Error in newx %*% coef : non-conformable arguments ``` Also, the...

The concordance function currently cannot be used to compare models when also using a strata term. Reproducible example using the mgus2 data based on the example code for the concordance...

This issue was raised by Sam Buttery via email (which I normally prefer), but I'm moving it here in order to perhaps get some comments and opinions on the best...

Thank you for creating survival! The output of coxph() using time-dependent covariate displays the number of rows of the data as "n=..." instead of the number of "id", even when...

Survival models with a stratified factor appear to have stopped cooperating with emmeans. For example, the following model, which was fully functional on R for Windows last year (and was...

`concordance()` with start/stop data and `timewt = S` crashes R. I've narrowed it done to the C script `Cfastkm2`. Here is a reprex ``` library(survival) fit1 concordancefit() -> docount() ->...

`survreg` produces `"Invalid survival times for this distribution"`, when interval-censored data for the lognormal have a lower bound of zero. ```{r} emin

I wonder if non-syntactic names can be supported consistently? It can be confusing that they work on LHS of `Surv()` formula but not RHS. The below example is for `survival...

Within `concordancefit()`, the "Special trickery for matched case-control data" involves changing the `y` to create disjoint time intervals, but then the `ymax` argument (and presumably also `ymin`) do not have...