各位前辈大佬们,小弟再用r-studio 的openair时发现问题了,求各位大神显灵啊
这个是我按照OpenAir_Manual上面的内容写的代码
“traj3 <- importTraj(site = "SG-BW5D-1H", year = 2016,local ="E:/output/" )
mydata<-read.csv(file.choose(),header = T)
clust <- trajCluster(selectByDate(traj3,start = "13/8/2016",end="14/11/2016"), method = "Angle", n.cluster= 6, col = "Set2",orientation=c(8,8,8))
traj<-merge(mydata,subset(clust,hour.inc==0),by="date")
trajPlot(clust, group = "cluster")”
总是提示出错,提示我说Can't find the variable(s) date lat lon hour.inc height cluster 。如图红色部分。。。。。。。。。。。
下图是OpenAir_Manual上面的内容。
|