R/summary.mira.nmi.R

Defines functions summary.mira.nmi

Documented in summary.mira.nmi

## File Name: summary.mira.nmi.R
## File Version: 0.03

###############################################
# summary function for mira.nmi object
summary.mira.nmi <- function(object, ...) {	
	B <- object$Nimp["between"]
	W <- object$Nimp["within"]		
	for (bb in 1:B){	
		# code adapted from summary.mira form mice package
		for (i in 1:W){
			cat("\n", "## summary of imputation: between", 
					bb , "- within" , i, ":\n")
			print(summary(object$analyses[[bb]][[i]], ...), ...)
				}
			}
}
#################################################

Try the miceadds package in your browser

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

miceadds documentation built on Nov. 21, 2017, 1:05 a.m.