Displaying 3 results from an estimated 3 matches for "rpoints".
Did you mean:
points
2007 Oct 11
3
reason for error in small function?
Running the function below, tested using the cardiff dataset from
splancs generates the following error. What changes do I need to
make to get the function to work? Thanks. --Dale
> gen.rpoints(events, poly, 99)
> rpoints
Error: object "rpoints" not found
# test spatial data
library(splancs)
data(cardiff)
attach(cardiff)
str(cardiff)
events <- as.points(x,y)
### non-working function ####
gen.rpoints <- function(events, poly, nsim){
rpoints <- array(0, dim=c(nrow(e...
2010 Aug 19
0
2d kriging with anisotropy on an irregular network (RandomFields Package)
Dear List
I am using the RandomFields package, and I have a problem when 2d-kriging, with an anisotropy, some values from an irregular network.
It works well when :
- 2d-kriging, without any anisotropy, some data from an irregular network
- 2d-kriging, with and without anisotropy, some data from a regular network
- 3d-kriging, with and without anisotropy, some data from a regular network
Here is
2006 May 17
4
uniform and clumped point plots
I am trying to generate two dimensional random coordinates.
For randomly distributed data I have simply used
>xy<-cbind(runif(100),runif(100))
However I also want to generate coordinates that are more uniformly
distributed, and coordinates that are more contagiously distributed than
the above.
Can anyone make any suggestions
Thanks.
Dr Terry Beutel
Rangeland Scientist
Animal