Displaying 1 result from an estimated 1 matches for "q71".
Did you mean:
71
2002 Feb 27
2
return()
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.tu...