Advertisement
Guest User

Untitled

a guest
Oct 30th, 2014
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. stdist<-matrix(c(0.4, 1.2, 3.8, 0.1, 0.7, 1.2, 1.8, 3.5, 5.4, 0.1, 0.4, 5.6, 4.4, 2.6, 0.9, 1), 4, 4)
  2. colnames(stdist)<-paste("Area", 1:4, sep=".")
  3. rownames(stdist)<-paste("Station", 1:4, sep=".")
  4.  
  5. Within<-list()
  6. for (i in 1:nrow(stdist)) {
  7. Within[[i]]<-which(stdist[i,]<=1)
  8. }
  9. names(Within)<-rownames(stdist)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement