https://github.com/cran/spatstat
Raw File
Tip revision: 1997e2dcffc38d48c1a355178fb2e5a26008a4fc authored by Adrian Baddeley on 21 December 2005, 15:03:34 UTC
version 1.8-3
Tip revision: 1997e2d
poisson.S
#
#
#    poisson.S
#
#    $Revision: 1.4 $	$Date: 2005/03/11 22:55:48 $
#
#    The Poisson process
#
#    Poisson()    create an object of class 'interact' describing
#                 the (null) interpoint interaction structure
#                 of the Poisson process.
#	
#
# -------------------------------------------------------------------
#	

Poisson <- function() {
  out <- 
  list(
         name     = "Poisson process",
         family   = NULL,
         pot      = NULL,
         par      = NULL,
         parnames = NULL,
         init     = function(...) { },
         update   = function(...) { },
         print    = function(self) {
           cat("Poisson process\n")
           invisible()
         },
         valid = function(...) { TRUE },
         project = function(coeffs, ...) { coeffs },
         irange = function(...) { 0 }
  )
  class(out) <- "interact"
  return(out)
}
back to top