Displaying 2 results from an estimated 2 matches for "time_strata".
2009 Feb 19
1
How do I get xtabs to show missing data?
...ist?
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-Day - 1000 to 13...
2009 May 26
3
Still can't find missing data
...ns 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 - 1000 to 1359...