Learn R Programming

mixtools (version 1.0.1)

print.npEM: Printing non- and semi-parametric multivariate mixture model fits

Description

print method for class npEM.

Usage

## S3 method for class 'npEM':
print(x, \dots)

Arguments

x
an object of class npEM such as a result of a call to npEM
...
Additional arguments to print

Value

  • print.npEM returns (invisibly) the full value of x itself, including the data and posteriors elements.

Details

print.npEM prints the elements of an npEM object without printing the data or the posterior probabilities. (These may still be accessed as x$data and x$posteriors.)

See Also

npEM, plot.npEM summary.npEM

Examples

Run this code
data(Waterdata)
set.seed(100)
npEM(Waterdata, 3, bw=4, verb=FALSE) # Assume indep but not iid

Run the code above in your browser using DataLab