search for: nfrail

Displaying 6 results from an estimated 6 matches for "nfrail".

Did you mean: nfail
2017 Dec 29
3
winbuilder warning message wrt function pointers
...ge.? (It is in fact mentioned as an example of this in the Extensions manual.) The call connections are a blocks like this, one for each of the 9 called C routines. void bdsmatrix_prod4(int nrow,??? int nblock,?? int *bsize, ??????????????????? double *bmat, double *rmat, ??????????????????? int nfrail,?? double *y) { ??? static void (*fun)() = NULL; ??? if (fun==NULL) ??? fun = (void (*)) R_GetCCallable("bdsmatrix", "bdsmatrix_prod4"); ??? fun(nrow, nblock, bsize, bmat, rmat, nfrail, y); ??? } .. The winbuilder run is flagging all of these with bdsmatrix_stub.h:22:6:...
2017 Dec 29
1
winbuilder warning message wrt function pointers
...value of R_GETCCallable. And check that your function is found before using it. #include <R.h> #include <Rinternals.h> #include <R_ext/Rdynload.h> void bdsmatrix_prod4(int nrow, int nblock, int *bsize, double *bmat, double *rmat, int nfrail, double *y) { DL_FUNC fun = NULL; if (fun==NULL) { fun = R_GetCCallable("bdsmatrix", "bdsmatrix_prod4"); } if (fun==NULL) { Rf_error("Cannot find C function 'bdsmatrix_prod4' in library 'bdsmatrix.{so,dll}'"); }...
2017 Dec 29
0
winbuilder warning message wrt function pointers
...at your function is found before using it. > > #include <R.h> > #include <Rinternals.h> > #include <R_ext/Rdynload.h> > > void bdsmatrix_prod4(int nrow, int nblock, int *bsize, > double *bmat, double *rmat, > int nfrail, double *y) { > DL_FUNC fun = NULL; > if (fun==NULL) { > fun = R_GetCCallable("bdsmatrix", "bdsmatrix_prod4"); > } > if (fun==NULL) { > Rf_error("Cannot find C function 'bdsmatrix_prod4' in library > 'bdsmat...
2002 Oct 08
2
Frailty and coxph
...(fit$frail) } ----------------------------------------------- the result is 'NULL', but with 'real data', I usually get the predicted frailties. The help pages doesn't even mention the component 'frail', but in the code I can see that 'frail' is reurned if 'nfrail > 0'. And (from 'coxpenal.fit.s'): --------------------------- if (any(sparse)) { ... }else{ nfrail <- 0 ... } --------------------------- and --------------------------- sparse <- sapply(pattr, function(x) !is.null(x$sparse) && x$sparse) --------...
2017 Dec 29
0
winbuilder warning message wrt function pointers
...an example of this > in the Extensions manual.) > The call connections are a blocks like this, one for each of the 9 called > C routines. > > void bdsmatrix_prod4(int nrow, int nblock, int *bsize, > double *bmat, double *rmat, > int nfrail, double *y) { > static void (*fun)() = NULL; > if (fun==NULL) > fun = (void (*)) R_GetCCallable("bdsmatrix", "bdsmatrix_prod4"); > fun(nrow, nblock, bsize, bmat, rmat, nfrail, y); > } > > .. > > The winbuilder run is flagging all...
2011 Aug 02
2
Extract p value from coxme object
Dear R experts; I am trying to extract the p values from a coxme object (package coxme). I can see the value in the model output, but I wanted to have the result with a higher number of decimal places. I have searched the mailing list and followed equivalent suggestions for nlme/lme objects, but I wasn't successful. Thanks; Catarina [[alternative HTML version deleted]]