Displaying 2 results from an estimated 2 matches for "dsplit".
Did you mean:
split
2004 Jun 17
2
using "= matrix (...)" in .C calls
...as.integer(ncat),
as.integer(cats *!isord),
as.integer(max(cats)),
as.integer(xval),
which = integer(nobs),
cptable = matrix(double(numcp*cpcol), nrow=cpcol),
dsplit = matrix(double(1), nsplit,3),
isplit = matrix(integer(1), nsplit,3),
csplit = catmat,
dnode = matrix(double(1), nodes, 3+numresp),
inode = matrix(integer(1), nodes, 6),
PACKA...
2002 Apr 25
1
understanding and resolving seg faults
...K, but apparently not.
thanks for your help,
For those that don't have structure of rpart drilled into their brain:
deltaI is declared in "rpmatrix.c":
void rpmatrix(struct node *me, Sint *nodecount, Sint *splitcount,
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 *nc...