Displaying 2 results from an estimated 2 matches for "date_admission".
2011 Mar 09
2
Cleaning date columns
Hi Everyone,
I have the following problem:
data <- structure(list(prochi = c("IND1", "IND1", "IND1",
"IND2", "IND2", "IND2", "IND2", "IND3",
"IND4", "IND5"), date_admission = structure(c(6468,
6470, 7063, 9981, 9983, 14186, 14372, 5129, 9767, 11168), class = "Date")),
.Names = c("prochi",
"date_admission"), row.names = c("27", "28", "21", "86", "77",
"80", "1", "...
2010 Mar 10
2
ordering columns in a data frame
Dear R users,
I have the following data frame:
PROCHI date_admission
2 CAO0000713 1999-12-11
4 CAO0000713 1999-10-25
21 CAO0001743 1989-05-04
25 CAO0001743 1996-09-12
26 CAO0001743 1989-05-17
27 CAO0001743 1987-09-17
28 CAO0001743 1987-09-19
29 CAO0001743 1988-01-27
36 CAO0001747 2004-03-21
38 CAO0001747 2004-03-22...