Skip to content
Prev 306684 / 398506 Next

Hmisc describe error

The error is just a misleading error message. loading the data produced
column sdate as
$ sdate :Classes 'labelled', 'dates'  atomic [1:502] 2778 2820 2933 2999
3002 ...
  .. ..- attr(*, "format")= symbol ddmmmyy
  .. ..- attr(*, "label")= chr "Date on study"

prostate$sdate <- as.Date(prostate$sdate,origin="1970-01-01")  # fixes the
problem and 'describe' runs

just as a comment: maybe the R dataset should have sdate as a Date class.



--
View this message in context: http://r.789695.n4.nabble.com/Hmisc-describe-error-tp4644708p4644711.html
Sent from the R help mailing list archive at Nabble.com.