You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dat<-data.frame(x=rnorm(7), g=c("a","a","a","b","b","b","c"))
ggplot(dat, aes(x=x, colour=g)) + geom_density()
#Error in rowSums(vapply(x, is.finite, logical(nrow(x)))) : # 'x' must be an array of at least two dimensions#Error in UseMethod("scale_dimension") : # no applicable method for 'scale_dimension' applied to an object of class "NULL"# For an even simpler version:dat<-data.frame(x=3, g="a")
ggplot(dat, aes(x=x)) + geom_density()
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: