[R] Segmentation error
Suzanne E. Blatt
SuzieBlatt at netscape.net
Mon Apr 7 21:13:46 CEST 2003
Hello,
I'm using library(spatstat) and trying to use ppp on my dataset. I get a segmentation error when I try to run it. Any suggestions? Code below ...
Thanks,
Suzanne
---------------------------------------
dat <- read.delim(file="trees_R2.csv", sep=",", header=1)
P16 <- (dat$Plot == "P1") | (dat$Plot == "P2") | (dat$Plot == "P3")
y94 <- dat$Easting[P16]
x94 <- dat$Northing[P16]
library(spatstat)
F194 <- ppp(x94, y94, c(0, 100), c(0, 50))
a <- allstats(F194, dataname="Field 1 - 1994")
plot(a)
More information about the R-help
mailing list