search for: class02

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

Did you mean: class04
2004 May 15
1
Fwd: filter out many data.frames
...at stat.math.ethz.ch Hi , i would like filter out all combinations of a data-mining result? How i have to declare X because in every loop step it have another lengths ? X <- numeric(length(i1,...,i64)) ? Many thanks Christian tres <- function(data.frame) { + data <- expand.grid(class02 = c("A","B","C","D"), class04 = c("A","B","C","D"),PREDICT = c("A","B","C","D")) + for (i in 1:nrow(data)){ + X[i]<- dtree[dtree$class02 == paste(data$class02[i]) &...
2004 May 18
1
list & calculaton in many df subsets
...siible for me make any calculaton's with variables in the 64 subset's. Example: I want calculate difference of two variables inside every of the 64 subset data.frames and getting this value in tList! Many thanks, Christian tasign <- paste("tList[[n]] <- try(dtree[dtree$class02 == paste(data$class02[n]) & dtree$class04 == paste(data$class04[n]) & dtree$PREDICT==paste(data$PREDICT[n]),])") tasign <- parse(text=tasign)[[1]] for(n in 1:nrow(data)) { TAsign <- do.call("substitute",list(tasign,list(n=n,X=as.name(n)))) eval(TAsign)...