Learn R Programming

BNPdensity (version 2020.3.4)

print.NRMI1: S3 method for class 'MixNRMI1'

Description

S3 method for class 'MixNRMI1'

Usage

# S3 method for NRMI1
print(x, ...)

Arguments

x

A fitted object of class NRMI1

...

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

Value

A visualization of the important information about the object

Examples

Run this code
# NOT RUN {
## Example for non censored data

data(acidity)
out <- MixNRMI1(acidity, Nit = 50)
print(out)

## Example for censored data

data(salinity)
out <- MixNRMI1cens(salinity$left, salinity$right, Nit = 50)
print(out)
# }

Run the code above in your browser using DataLab