I am guessing his data is at fixed time points or something similar.
As a "cheat" you can apply a jitter function to the x values and it should
draw...
g <- ggplot(data, aes(x = jitter(x), y = y,...
J
--
View this message in context:
http://r.789695.n4.nabble.com/Unable-to-run-smoother-in-qplo
Thanks for the reply. I'll look into this.
Chris
On Mar 13, 2009, at 8:31 AM, hadley wickham wrote:
On Thu, Mar 12, 2009 at 5:37 PM, Christopher David Desjardins
wrote:
I get the following error when I run qplot()
qplot(grade, read,data = hhm.long.m, geom = c("point", "smooth"))
Error in sm
On Thu, Mar 12, 2009 at 5:37 PM, Christopher David Desjardins
wrote:
> I get the following error when I run qplot()
>
> qplot(grade, read,data = hhm.long.m, geom = c("point", "smooth"))
>
> Error in smooth.construct.cr.smooth.spec(object, data, knots) :
> x has insufficient unique values to suppo
> From: Christopher David Desjardins
> To: r-help@r-project.org
> Date: Thu, 12 Mar 2009 17:37:26 -0500
> Subject: [R] Unable to run smoother in qplot() or ggplot() - complains about
> knots
> I get the following error when I run qplot()
>
> qplot(grade, read,data = hhm
I get the following error when I run qplot()
qplot(grade, read,data = hhm.long.m, geom = c("point", "smooth"))
Error in smooth.construct.cr.smooth.spec(object, data, knots) :
x has insufficient unique values to support 10 knots: reduce k.
I am not sure how to tackle this problem. When I take a
5 matches
Mail list logo