在尝试此操作时,我不幸地遇到了错误Aesthetics must be either length 1 or the same as the data (8112701): fill。:::print.ggplot(x)5. ggplot2 by)layer(function(l, d) l$compute_aesthetics]], d=date[[i]]])8. ggplot2 f(..., self=self)
geom_point需要以下缺少的美学元素:x和y rlang::last_error()geom_point requires the following missing aestheticslayers[[i]], d = data[[i]])ggplot2:::f(..., self = self)<error/rlang
我试图将第二组数据作为地理点添加到ggmap图中。我已经使用geom_contour和geom_raster函数将测深/地形数据应用于地图。但是每次我添加函数geom_point时,我都会得到这样的消息:“向连续规模提供的离散值”Long Lat Type2 155.4998 19.83302 Not geo-referenced
3