Displaying 1 result from an estimated 1 matches for "used_l1".
Did you mean:
used_len
2014 Nov 20
2
ggplot question error: Error in s(x, bs = "cs") : object 'x' not found
...r not providing the full code. I just need a point in the
right direction.
I have a data frame ('temp') with 1,200 rows and 2 variables.
I am using ggplot2 to create a scatter plot:
This is my code and it works fine, it creates a scatter plot:
library(ggplot2)
sp10<-ggplot(temp,aes(x=p.used_L1,y=l.to.r.ratio_L1))
sp10 + geom_point()
However, when I change the last line to:
sp10 + geom_point() + stat_smooth(se=FALSE)
Then I am getting these messages (and no fitted line on the graph):
geom_smooth: method="auto" and size of largest group is >=1000, so
using gam with formula:...