search for: isplit

Displaying 5 results from an estimated 5 matches for "isplit".

Did you mean: split
2004 Jun 17
2
using "= matrix (...)" in .C calls
...sord), 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), PACKAGE = "rpart") Which in communicates with the C code...
2009 Aug 07
2
create separate plots by factors
Hello, I am attempting to create several plots based on "site" (~300 total) and am having trouble with the code. I simply want to create a plot using the code, plot(year, peak), for the following dataset. I would like for each site to be plotted on a separate page and the plots saved in a directory. Would a "foreach" loop work? I tried a "by" statement, but
2002 Apr 25
1
understanding and resolving seg faults
...s 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 *ncat, Sint *numca...
2009 Sep 02
4
Grouping data in a data frame: is there an efficient way to do it?
I have a data frame with about 10^6 rows; I want to group the data according to entries in one of the columns and do something with it. For instance, suppose I want to count up the number of elements in each group. I tried something like aggregate(my.df$my.field, list(my.df$my.field), length) but it seems to be very slow. Likewise, the split() function was slow (I killed it before it completed).
2009 Sep 02
0
Revolutions blog: August roundup
.... http://bit.ly/15NgOl linked to an R analysis of fish imports/exports. http://bit.ly/ZNXch accounted the formation of a DC-area user group, and called for speakers for the inaugural meeting in October. http://bit.ly/15uBrK gave an example of parallel-processing a data frame in blocks with "isplit" from the iterators package. http://bit.ly/HaRcg linked to two upcoming R courses on graphics and data mining. http://bit.ly/uOMGq noted some highlights of the "fortunes" package. http://bit.ly/X1Ee4 revealed that the tech industry analysts TechCrunch now use R to produce their re...