summary.BNPdens {BNPmix}R Documentation

BNPdens summary method

Description

The summary.BNPdens method provides summary information on BNPdens objects.

Usage

## S3 method for class 'BNPdens'
summary(object, ...)

Arguments

object

an object of class BNPdens;

...

additional arguments

Examples

data_toy <- c(rnorm(100, -3, 1), rnorm(100, 3, 1))
grid <- seq(-7, 7, length.out = 50)
est_model <- PYdensity(y = data_toy, mcmc = list(niter = 100,
                      nburn = 10, napprox = 10), output = list(grid = grid))
class(est_model)
summary(est_model)

[Package BNPmix version 0.2.8 Index]