search for: s_to_rp2

Displaying 2 results from an estimated 2 matches for "s_to_rp2".

2004 Jun 17
2
using "= matrix (...)" in .C calls
Dear R-devel, I am trying to alter rpart so that it makes additional calculations when growing the tree. In the "rpart.s" there is a call to the C routine: rp <- .C("s_to_rp2", as.integer(nobs), as.integer(nsplit), as.integer(nodes), as.integer(ncat), as.integer(cats *!isord), as.integer(max(cats)), as.inte...
2002 Apr 25
1
understanding and resolving seg faults
..., Sint *catcount, Sint *numcat, double **dsplit, Sint **isplit, Sint **csplit, double **dnode, Sint **inode, double **deltaI, int id) rpmatrix is called by "s_to_rp.c" where ddeltaI is a pointer from an ALLOC call: void s_to_rp2(Sint *n, Sint *nsplit, Sint *nnode, Sint *ncat, Sint *numcat, Sint *maxcat, Sint *xvals, Sint *which, double *cptable, double *dsplit, Sint *isplit, Sint *csplit, double *dnode, double *deltaI, Sint *inode) double **dd...