[R] HMisc describe -- error with dates
tmurph6@po-box.mcgill.ca
tmurph6 at po-box.mcgill.ca
Wed Nov 12 00:28:24 CET 2003
Hello,
I am trying to use HMisc describe on a data frame. I have specified certain
variables as dates using, for example:
df1$aidsdate <- dates(aidsdate,format="day.mon.year", origin=c(month = 1,
day = 1, year = 1960))
When I use describe on the dataframe I get this error:
Error in Ops.dates(weights, x) : * not defined for chron objects
Has anyone had this problem? I had used the same method with an older version of
R and HMisc and it worked.
Should be be formatting date variables differently?
Thank you!
Sincerely,
Tanya Murphy
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
More information about the R-help
mailing list