summary.NRMI2 {BNPdensity}R Documentation

S3 method for class 'MixNRMI2'

Description

S3 method for class 'MixNRMI2'

Usage

## S3 method for class 'NRMI2'
summary(object, number_of_clusters = FALSE, ...)

Arguments

object

A fitted object of class NRMI2

number_of_clusters

Whether to compute the optimal number of clusters, which can be a time-consuming operation (see compute_optimal_clustering)

...

Further arguments to be passed to generic function, ignored at the moment

Value

Prints out the text for the summary S3 methods

Examples

data(acidity)
out <- MixNRMI2(acidity, Nit = 20)
summary(out)

data(salinity)
out <- MixNRMI2cens(salinity$left, salinity$right, Nit = 20)
summary(out)

[Package BNPdensity version 2023.3.8 Index]