Modify the following code so that it suits your needs (mainly the setting
about the window).

point.ppp <- with(point.df, ppp(x = x, y = y, xrange = range(x), yrange =
range(y)))
plot(point.ppp)


Cheers,
Roman



On Sun, Dec 26, 2010 at 6:02 PM, gianni lavaredo
<gianni.lavaredo@gmail.com>wrote:

> Dear Researchers,
>
> I have a data.frame with tow columns (x and y) and I wish to convert in a
> ppp object
>
> point.df <-
>
> data.frame(x=c(749389.0,750000.0,750000.0,749389.0,750000.0,752500.0,752500.0,750000.0,752500.0,755000.0,755000.0,752500.0,755000.0,757500.0,757500.0,755000.0,757500.0,760000.0,760000.0),
>
> y=c(7275568,7275568,7277064,7277064,7275543,7275543,7277100,7277100,7275528,7275528,7277090,7277090,7275505,7275505,7277088,7277088,7275474,7275474,7277088))
>
> point.df
> plot(point.df$x,point.df$y)
>
>
> normally I use as.ppp but I don't undesrtand my error.
>
> thanks so much and sorry for destrub you in this period
>
> Gianni
>
>        [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>



-- 
In God we trust, all others bring data.

	[[alternative HTML version deleted]]

