Displaying 2 results from an estimated 2 matches for "pbc2".
Did you mean:
pbc
2024 Feb 07
2
Difficult debug
...ccess, e.g., the wrong endpoint variable in a for( ) loop.??? What
would others advise as a next step?
Here is the last part of the screen
> fit2 <- coxph(list(Surv(tstart, tstop, bstat) ~ 1,
+??????????????????? c(1:4):5 ~ age / common + shared), id= id, istate=bili4,
+?????????????? data=pbc2, ties='breslow', x=TRUE)
> surv2 <- survfit(fit2, newdata=list(age=50), p0=c(.4, .3, .2, .1, 0))
> test2 <- mysurv(fit2, pbc2$bili4, p0= 4:0/10, fit2, x0 =50)
==31730== Invalid read of size 8
==31730==??? at 0x298A07: Rf_allocVector3 (memory.c:2861)
==31730==??? by 0x299B2C: R...
2024 Feb 07
2
Difficult debug
...le in a for( )
> loop. What
> would others advise as a next step?
>
> Here is the last part of the screen
> > fit2 <- coxph(list(Surv(tstart, tstop, bstat) ~ 1,
> + c(1:4):5 ~ age / common + shared), id= id,
> istate=bili4,
> + data=pbc2, ties='breslow', x=TRUE)
> > surv2 <- survfit(fit2, newdata=list(age=50), p0=c(.4, .3, .2, .1, 0))
> > test2 <- mysurv(fit2, pbc2$bili4, p0= 4:0/10, fit2, x0 =50)
> ==31730== Invalid read of size 8
> ==31730== at 0x298A07: Rf_allocVector3 (memory.c:2861)
> ==...