Hi
I'm trying to use ggplot2 to chart a dataset that I've drawn in from
excel. When I run the qplot command, I get the following error
message:
Error: ggplot2 doesn't know how to deal with data of class character
It feels like I need to coerce one of the fields in my data frame.
Here's the
I suspect it is to do with your method of creating the dataframe, I would
check to see if the columns in the df are numeric, which you can do by:
is.numeric(flat_data$time)
for each variable, if it is not numeric (and at least one must be a
character, given the error message) then redefine as
Hi David,
On Tue, Sep 13, 2011 at 6:00 AM, David Menezes
david.n.mene...@gmail.com wrote:
Hi
I'm trying to use ggplot2 to chart a dataset that I've drawn in from
excel. When I run the qplot command, I get the following error
message:
Error: ggplot2 doesn't know how to deal with data of
On Tue, Sep 13, 2011 at 7:32 AM, RCulloch ross.cull...@dur.ac.uk wrote:
I suspect it is to do with your method of creating the dataframe,
I think the error is actually triggered by quoting the name of the
data.frame in the qplot call.
I would
check to see if the columns in the df are numeric,
4 matches
Mail list logo