search for: admitd

Displaying 1 result from an estimated 1 matches for "admitd".

Did you mean: admit
2008 Oct 30
1
trying to figure out reorder.factor in gdata
...habetically. I'm using reorder.factor from gdata package, but obviously not using it properly. What am I doing wrong? Thanks. >data <- read.table("DataEarly2008.txt", sep=" ", header=T, as.is=1:2) >str(data) 'data.frame': 7953 obs. of 9 variables: $ AdmitDate : chr "6/28/2004" "9/24/2004" "12/29/2004" "3/15/2005" ... $ DischargeDate : chr "6/24/2008" "5/15/2008" "1/4/2008" "1/27/2008" ... $ Destination : Factor w/ 19 levels "AHC","AHG",&qu...