嗨,我是一个真正的自学 R 新手:我正在关注 GWR 教程, 但已经在第一页我的代码失败了
colours = c(“dark blue”, “blue”, “red”, “dark red”)
创建一个调色板并在 spplot
spplot(map, “Nocars”, cuts=quantile(Nocars), col.regions=colours)
错误:“colors = c(�”中的意外输入
和 spplot 一样
错误:“spplot(Nocars,�”中的意外输入
你能帮忙吗,我确定它很傻。