[R] Writing point pattern to a file

From: Ajit Chakrapani Warrier <acwarrie_at_csc.ncsu.edu>
Date: Wed 26 Oct 2005 - 07:57:10 EST


Hi,

        I am trying to use the R package 'spatstat' for generating spatial poisson point process graphs. I can create a point pattern using the following commands:

        pp <- rpoispp(.01, win=owin(c(0,100),c(0,100)))

        and also view the resulting graph by:

        plot(pp)

        But how can I export the generated point pattern to an external file so that I could use it as input for some network simulation programs ? Also, it seems that the generated graph is different on each invocation. Is there a way I could control this randomness, some seed perhaps.

Thanks in advance,
Ajit.

-- 
Ajit Chakrapani Warrier
------------------------------------------------------------
Graduate Student                     acwarrie@csc.ncsu.edu
Department of Computer Science       (919) 389 9737
North Carolina State University      www4.ncsu.edu/~acwarrie

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Wed Oct 26 08:03:01 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:47 EST