search for: clength

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

Did you mean: length
2007 Dec 10
1
Multiple Reponse CART Analysis
Dear R friends- I'm attempting to generate a regression tree with one gradient predictor and multiple responses, trying to test if change in size (turtle.data$Clength) acts as a single predictor of ten multiple diet taxa abundances (prey.data) Neither rpart or mvpart seem to allow me to do multiple responses. (Or if they can, I'm not using the functions properly.) > library(rpart) > turtle.rtree<-rpart(prey.data~., data=turtle.data$Clength, metho...
2007 Sep 07
1
"bug" and patch: quadratic running time for strsplit(..., fixed=TRUE) (PR#9902)
...void handlechar(DEstruct DE, char *text) { - int i, c = text[0]; + int i, c = text[0], j; #ifdef USE_FONTSET wchar_t wcs[BOOSTED_BUF_SIZE]; @@ -1355,9 +1355,13 @@ goto donehc; } - for(i = 0; i < strlen(text); i++) *bufp++ = text[i]; - *(bufp+1) = '\0'; - clength += strlen(text); + /* as originally written, this left an undefined byte at + the end of bufp, followed by a zero byte; luckily, the storage + pointed to by bufp had already been zeroed, so the undefined + byte was in fact zero. */ + strcpy(bufp, text); + bufp += (j = st...