预测功能问题-新手用户

问题描述

对不起,我知道错误一定很简单,但是我是该语言的初学者。高亮显示的摘录是完整脚本的一部分,位于https://github.com/samuel-rosa/qgis-r/blob/master/rscripts/digital-soil-mapping.rsx

下面的函数返回以下错误

h中的错误(simpleError(msg,调用)): 函数“ raster”的方法选择中评估参数“ x”时出错:“列表没有“ x””

# Make spatial predictions ---- Faça previsões espaciais

raster::beginCluster()
prediction <- 
  raster::clusterR(
    raster::raster(Covariates),raster::predict,args = list(model = model_fit,type = type,index = index)
  )
raster::endCluster()

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)