Re: [R] How to resolve this error

2017-10-06 Thread Bert Gunter
?duplicated to find the duplicated elements. e.g. duplicated(obs[,c("date","ID")]) ## data frame of relevant columns Note that a web search on "Find duplicates in R" would have brought this up immediately. ** Do** avail yourself of standard search capabilities before posting. Cheers, Bert

[R] How to resolve this error

2017-10-06 Thread Joshua Bedana
> library(SpatioTemporal) > library(plotrix) > library(maps) > palay.cov<-read.csv("C:/Users/BEDANA-PC/Desktop/STThesisWD/Thesis Data/palay.covar.csv") > palay.o<-read.table("C:/Users/BEDANA-PC/Desktop/STThesisWD/Thesis Data/palay.obs.txt") > palay.obs<-as.matrix(palay.o) > palay.stc<-read.table("C