Learn R Programming

NPBayesImputeCat (version 0.3)

marginal_compare_all_imp: Plot estimated marginal probabilities from observed data vs imputed datasets

Description

Plot estimated marginal probabilities from observed data vs imputed datasets

Usage

marginal_compare_all_imp(obsdata, impdata, vars)

Arguments

obsdata

he observed data

impdata

the list of m imputed datasets

vars

the variable of interest

Value

Plot

the barplot

Comparison

a table of marginal probabilies from observed data vs imputed datasets