search for: wt_annual

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

2009 Feb 19
1
How do I get xtabs to show missing data?
...get them to list? I found references 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-D...
2009 May 26
3
Still can't find missing data
...ve observations under "Connector" 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 - 10...
2009 Jun 01
1
installing sn package
...<8452CFD6AC58614FA9F87C8ADC2E418904CED8C739@exchange01.lacmta.net> Content-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 e...