Dear list,
I have a set of 100+ variables. I would like to have one by one crosstables for
each variable. I started with
table(variable1, variable2)
table(variable1, variable3)
table(variable1, variable4)
...
table(variable2, variable3)
table(variable2, variable4)
...
It seems rather tedious.
A
Dear list,
thanks to your help I managed to find means of analysing my data.
However, the whole data set contains 264 variables. Of which some are
factors, others are not. The factors tend to be grouped, e.g.
data$f1304 to data$f1484 and data$f3204 to data$5408.
But there are other types of va
Dear list,
I reduced my data to the following:
x <- c(1,4,2,6,8,3,4,2,4,5,1,3)
y <- as.factor(c(2,2,1,1,1,2,2,1,1,2,1,2))
z <- as.factor(c(1,2,2,1,1,2,2,3,3,3,3,3))
I can produce the statistical summary just fine.
s1 <- tapply(x, y, summary)
d1 <- tapply(x, y, sd)
s2 <- tapply(x, z, summary)
d2
3 matches
Mail list logo