Hi all -- I'm trying to use R for my "Analysis of Categorical Data" class, but I can't figure out how to do a weighted linear trend analysis. I have a table of categorical data, to which I've assigned weights to the rows and columns. I need to calculate r and M^2, which is apparently done in SAS using "PROC FREQ" and in STATA using "correlate var1 var2 fw=count". What's the command for R?
-- Chris ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html