Displaying 2 results from an estimated 2 matches for "class04".
Did you mean:
  class02
  
2004 May 15
1
Fwd: filter out many data.frames
...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]) & dtree$class04 ==
paste(data$class04[i]) & dtree$PREDICT==paste(da...
2004 May 18
1
list & calculaton in many df subsets
...ariables 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)
}