https://github.com/cran/spatstat
Raw File
Tip revision: 8ba424ae2810d8985064bafb88d4ad7c421f84a5 authored by Adrian Baddeley on 09 May 2016, 10:08:26 UTC
version 1.45-2
Tip revision: 8ba424a
plot.mppm.R
#
# plot.mppm.R
#
#   $Revision: 1.4 $  $Date: 2016/02/11 10:17:12 $
#
#

plot.mppm <- function(x, ..., trend=TRUE, cif=FALSE, se=FALSE,
                      how=c("image", "contour", "persp")) {
  xname <- deparse(substitute(x))
  how <- match.arg(how)
  subs <- subfits(x)
  arglist <- resolve.defaults(list(x=subs, how=how),
                              list(...),
                              list(main=xname))
  if(trend) 
    do.call(plot, c(arglist, list(trend=TRUE, cif=FALSE, se=FALSE)))
  if(cif) 
    do.call(plot, c(arglist, list(trend=FALSE, cif=TRUE, se=FALSE)))
  if(se) 
    do.call(plot, c(arglist, list(trend=FALSE, cif=FALSE, se=TRUE)))
  invisible(NULL)
}

back to top