[R] ggplot - unwanted sorted X values
David Winsemius
dwinsemius at comcast.net
Wed Oct 27 17:08:59 CEST 2010
On Oct 27, 2010, at 11:02 AM, ashz wrote:
>
> Hi,
>
> You are right the are dates.
They didn't look like proper R Dates. What does class() on the column
return?
>
> Any link,introduction or solution for this issue (factor levels).
?factor # would be the place to start
There are hundreds of questions and answers on rhelp about factor
levels.
As always specific examples focus the mind wonderfully. Read the
Posting Guide about posting reproducible code. It uses the dump
function but many people find the dput function to be easier.
--
David Winsemius, MD
West Hartford, CT
More information about the R-help
mailing list