我是R的新手。我在尝试绘制月度异常温度时发现错误如下;
> country.list <- c("ISL", "FIN", "NOR", "SWE")
> country.dat <- get_ensemble_stats(country.list, "manom", "tmin_means")
No encoding supplied: defaulting to UTF-8.
No encoding supplied: defaulting to UTF-8.
No encoding supplied: defaulting to UTF-8.
No encoding supplied: defaulting to UTF-8.
No encoding supplied: defaulting to UTF-8.
No encoding supplied: defaulting to UTF-8.
No encoding supplied: defaulting to UTF-8.
No encoding supplied: defaulting to UTF-8.
> country.dat.b1 <- subset(country.dat, country.dat$scenario == "b1")
> ountry.dat.b1 <- subset(country.dat.b1, country.dat.b1$percentile == 50)
> country.dat.b1 <- subset(country.dat.b1, country.dat.b1$fromYear == 2081)
> ggplot(country.dat.b1, aes(x = month, y = data, group = locator, colour = locator)) +
+ geom_point() + geom_path() + ylab("Average daily minimum temperature") +
+ theme_bw() + xlab("Month")
Don't know how to automatically pick scale for object of type list. Defaulting to continuous.
Error in eval(expr, envir, enclos) : object 'month' not found
然而,它对于月平均值和#34; mavg&#34;工作得很好。怎么解决?
非常感谢