The density estimate is the mean posterior density computed on the data points.
# S3 method for NRMI2 plot(x, ...)
A fitted object of class NRMI2
Further arguments to be passed to generic function, ignored at the moment
A graph with the density estimate, the 95% credible interval and a histogram of the data
# NOT RUN { data(acidity) out <- MixNRMI2(acidity, Nit = 50) plot(out) # }
Run the code above in your browser using DataCamp Workspace