[R] Creating Crosstabs using a sparse table

merrittr rob at merrittnet.org
Wed May 5 01:57:32 CEST 2010


Hi all

I am trying to read in a table from a survey
and get the error below


 gr12 <- read.table("gr12.csv", header=TRUE)
Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, 
: 
  line 1 did not have 249 elements

how would I go about reading in a table of this data, I am trying to
generate a series of crostabs after I get it in
ie Gender vs q1 q2 q3 q4...
   Religion vs q1 q2 q3...


any help would be appreciated

-- 
View this message in context: http://r.789695.n4.nabble.com/Creating-Crosstabs-using-a-sparse-table-tp2130247p2130247.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list