print.BNPdens: BNPdens print method

View source: R/class_generic.R

print.BNPdensR Documentation

BNPdens print method

Description

The BNPdens method prints the type of a BNPdens object.

Usage

## S3 method for class 'BNPdens'
print(x, ...)

Arguments

x

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)
print(est_model)

BNPmix documentation built on July 16, 2022, 1:04 a.m.