Read a Point Process Object from a File

DESCRIPTION:

Read a file in standard format and create a point process object.

USAGE:

ppinit(file)

REQUIRED ARGUMENTS:

file
string giving file name

VALUE:

class pp object with components x , y, xl , xu, yl , yu

DETAILS:

The file should contain

the number of points
a header (ignored)
xl xu yl yu scale
x y (repeated n times)

SIDE EFFECTS:

Calls ppregion to set the domain.

SEE ALSO:

EXAMPLES:

towns <- ppinit("towns.dat")
par(pty="s")
plot(Kfn(towns, 10), type="b", xlab="distance", ylab="L(t)")