Hi all, I've had a few years experience with R, which is why this is so frustrating, my problem seems so simple but I can't find a solution.
I have a data frame in the following form: data.frame(var1=c(0,0,1,1),var2=c(0,1,0,1),freq=c(11,12,13,14)) How do I create a crosstab with frequencies? 0 1 0: 11 12 1: 13 14 -- View this message in context: http://r.789695.n4.nabble.com/Crosstabulation-with-a-frequency-variable-tp4711058.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.