search for: lawadata

Displaying 3 results from an estimated 3 matches for "lawadata".

2009 Feb 19
1
How do I get xtabs to show missing data?
...es to na.action and na.pass, but I could not figure out how I could use them with xtabs to list the na as a value. I'm sure there's a simple syntax I need, but it's not obvious to me. > # Weighted Data > XTTable <- xtabs(wt_annual ~ time_strata + connector, LAWAData) > XTTable ## List connector time_strata OD Passenger Connector Morning Peak - 0550 to 0959 5605.140 1234.933 Late morning to Mid-Day - 1000 to 1359 4778.503 2516....
2009 May 26
3
Still can't find missing data
...quot; but against a different variable "Connector" shows all 0 values. What is wrong? I've looked into the na commands and the ?xtabs entry, but I haven't found anything that works. ######################### > > XTTable <- xtabs(wt_annual ~ time_strata + connector, LAWAData) > XTTable ## List connector time_strata OD Passenger Connector Morning Peak - 0550 to 0959 5605.140 1234.933 Late morning to Mid-Day - 1000 to 1359 4778.503 2516.943 E...
2009 Jun 01
1
installing sn package
...ontent-Type: text/plain; charset="us-ascii" I can't get the syntax that will allow me to show NA values (rows) in the xtabs. > # unfortunatly I don't see how to get that to run > XTTable <- xtabs(wt_annual ~  Mode_orig_only + connector, exclude=NULL, na.action(na.pass), LAWAData) Error in eval(expr, envir, enclos) : object "wt_annual" not found > XTTable <- xtabs(wt_annual ~  Mode_orig_only + connector, exclude=NULL, na.action(na.pass), drop.unused.levels = FALSE, LAWAData) Error in eval(expr, envir, enclos) : object "wt_annual" not found > XTT...