[R] return()
christian schulz
ozric at web.de
Wed Feb 27 17:31:29 CET 2002
Hi,
i get only one value, but expect ncol values - what's wrong ?
test <- function(){
for (i in 1:ncol(configData))
x <- subset(configData, Q71 == 1 & configData[,i] ==1 , select =
configData[,i])
y <- (dim(x)[1]/dim(configData)[1])*100
return(y) }
thanks for advance & regards,
Christian
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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