Thanks for the leads. I had been looking at CrossTables for awhile, but they
only seem to have one variable on each axis for each example I read.
The Hmisc summary.formula looks very promising, so I will investigate it
now. I think that might be the winner from looking at the examples you
sugge
6b) Getting pretty close with some nasty code. I think I could copy and
paste to openoffice calc and make it pretty fairly easily at this point.
I should make a function to clean up the repeated part at least. Overall, I
think I could make a function that applies another function to generate a
Thanks for the feedback, this is really helpful.
4) Your solution works like a charm. I opted for reference by column number
since I had so many.
ynFields = c(12:22,58:229)
ynLabel = c("No","Yes")
X[ynFields] <- lapply(X[ynFields], factor, levels=0:1, labels=ynLabel)
whenFields = c(24:56)
when
I just started using R and I'm having all sorts of "fun" trying different
things.
I'm going to document the different things I'm doing here as a kind of case
study. I'm hoping that I'll get help from the community so that I can use R
properly.
Anyways, in this study, I have demographic data, dr
4 matches
Mail list logo