[R] R: question about vectors + for loop

Maria Wolters wolters at ikp.uni-bonn.de
Sat Jun 5 16:14:11 CEST 1999


first of all: I'm not only new to R, but also to S.
I hope this is the right forum for asking the  following
very stupid questions:
a) is there a straightforward way of saying
  for all factors f in a data frame {
      any old function, e.g. max(f)
b) how can you construct a new data frame d' from 
   a given data frame d which contains only rows
   with [X=="A"] (x is a factor of d)?
   I know there's an obvious way, but with 50+ columns,
   that's a wee bit tedious :) 
c) could it be possible that there's a bug in the implementation of 
    the Kolmogorov-Smirnov test? 

Thanks in advance for your help,

Maria Wolters
wolters at ikp.uni-bonn.de
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list