R/print.structure.R

Defines functions print.structure

Documented in print.structure

print.structure <-
function(x,...) 
{
	cat("\nLikelihood Ratio Test:\n")
	cat("NH: structure=", colnames(x$AIC)[1], "\n")
	cat("AH: structure=", colnames(x$AIC)[2], "\n")

	print(x$LRT)
	cat("\nInformation Criteria:\n")

	outic <- data.frame(rbind(x$AIC, x$BIC))
  rownames(outic) <- c("aic", "bic")
	print(outic)
	invisible(x)
}

Try the ldr package in your browser

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

ldr documentation built on May 2, 2019, 2:13 p.m.