Displaying 2 results from an estimated 2 matches for "ccoxscore".
2018 Oct 02
3
maximum matrix size
...to the github
source of one routine where my .C call allocates a scratch vector, suggesting? "resid =
double( as.double(n) *nvar)" to prevent a "NA produced by integer overflow" message,? in
the code below.?? A fix is obvously not quite that easy :-)
??? ??? resid <- .C(Ccoxscore, as.integer(n),
??? ??? ??? ??? as.integer(nvar),
??? ??? ??? ??? as.double(y),
??? ??? ??? ??? x=as.double(x),
??? ??? ??? ??? as.integer(newstrat),
??? ??? ??? ??? as.double(score),
??? ??? ??? ??? as.double(weights[ord]),
??? ??? ??? ??? as.integer(method=='efron'),
??? ??? ??? ?...
2018 Oct 02
0
maximum matrix size
...ource of one routine where my .C call allocates a scratch vector, suggesting "resid =
> double( as.double(n) *nvar)" to prevent a "NA produced by integer overflow" message, in
> the code below. A fix is obvously not quite that easy :-)
>
> resid <- .C(Ccoxscore, as.integer(n),
> as.integer(nvar),
> as.double(y),
> x=as.double(x),
> as.integer(newstrat),
> as.double(score),
> as.double(weights[ord]),
> as.integer(metho...