# print.pair prints out INFORMATION ABOUT an object of class "pair"
function(x,...) {

  cat(paste('\nPair object:',deparse(substitute(x)),'\n'))

  if (!is.null(attributes(x)$type))
    cat('\n      Type:            ',attributes(x)$type)
  if (!is.null(attributes(x)$theta))
    cat('\n      Theta:           ',attributes(x)$theta)
  if (!is.null(attributes(x)$dtheta))
    cat('\n      Dtheta:          ',attributes(x)$dtheta)
  cat('\n      Number of pairs: ',length(x$from))
  cat('\n      Number of lags:  ',length(unique(x$lags)))
  cat('\n      Max h:           ',max(x$dist))


Try the sgeostat package in your browser

Any scripts or data that you put into this service are public.

sgeostat documentation built on May 29, 2017, 9:04 a.m.