R/print.summary.ppm.R

Defines functions print.summary.ppm

#' @export

print.summary.ppm<-function(x,...){

  cat("Call:\n")
  print(x$call)
  cat("\n")
  printCoefmat(x$coefficients, P.values = TRUE, has.Pvalue = TRUE)
  cat("\n")
  if(x$strictconcavity){cat("loglikelihood: strictly concave in the interior")
    }else{cat("WARNING: loglikelihood concave in the interior")}
  cat("\n")
  cat("loglikelihood: ",x$loglik)
  cat("\n")
  if(x$boundaryissue){cat("WARNING: MLE possibly on a boundary")
  cat("\n")}

}

Try the lcpm package in your browser

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

lcpm documentation built on Jan. 9, 2020, 9:07 a.m.