Displaying 1 result from an estimated 1 matches for "attempt1_ppp".
2012 Apr 16
2
Creating a point pattern with spatstat
...1 1 1 1 1 0 0 0 0 1
11 1 1 1 1 1 1 1 1 1 0 0 1
12 1 1 1 1 1 0 0 0 1 1 1 1
Which I want to use to create a ppp object in spatstat. I tried:
> X <- as.ppp(Lv2.8, owin(c(0, 12), c(0,12)))
and got
> plot(X)
0 1
0.000000 1.187939
http://r.789695.n4.nabble.com/file/n4562047/attempt1_ppp.jpg
Which obviously isn't what I'm after. To obtain a simple graphic of where
points are present on the plot, should I convert the raw data to
non-numerical values?
Thanks,
Tom
--
View this message in context: http://r.789695.n4.nabble.com/Creating-a-point-pattern-with-spatstat-tp45620...