Re: [R-sig-Geo] Help for STFDF Object Creation

2017-04-23 Thread Ankur Sarker via R-sig-Geo
Thanks for your reply. Sorry for my second post, I tried to be more clear. Here is link of my complete source code, data and R instance:https://drive.google.com/drive/folders/0B3tdiSZ9hBj4dVZXOXItUjdrRlE?usp=sharing Hope, it would be easier to understand my problem. On Sunday, April 23,

Re: [R-sig-Geo] Help for STFDF Object Creation

2017-04-23 Thread Edzer Pebesma
Please provide a script of an example that we can reproduce, preferably using data that is loaded from a package (to safe other people's time), otherwise it is impossible for anyone to help you, or unlikely somebody will. Your script does not create count data but assumes it is there; you don't

[R-sig-Geo] Help for STFDF Object Creation

2017-04-22 Thread Ankur Sarker via R-sig-Geo
Hi, I am trying to create a STFDF object and draw variogram. However, I am getting several errors. Here is my r code: #create count data c0157ts <- as.numeric(c(t(c0157))) c0001ts <- as.numeric(c(t(c0001))) #create coordinates lat <- 0 lon <- 0 lat[1] <- 34.0793684 lon[1] <- -81.1301722