Displaying 1 result from an estimated 1 matches for "lagxt".
2002 Feb 12
6
A couple of little R things I can't figure out (column percents, regression with lagged variables)
Simple usage questions that I ought to be able to figure on my own, but 
can't.
1.I'm able to produce a cross tabulation table showing counts with 
either table or xtabs.  But I want column percentages for 
interpretation, and it seems stupid to sit there with a calculator 
figuring marginals and column percentages.  How to make R do it after this:
 > x <- c(1,3,1,3,1,3,1,3,4,4)