plot.olbm {ordinalLBM}R Documentation

Plot OLBM

Description

It plots the re-organized incidence matrix and/or the estimated Gussian densities.

Usage

## S3 method for class 'olbm'
plot(x, type = "hist", ...)

Arguments

x

The "olbm" object output of the function olbm.

type

A string specifying the type of plot to be produced. The currently supported values are "hist" and "incidence".

...

Additional parameters to pass to sub-functions.

Examples

data(olbm_dat)
res <- olbm(olbm_dat$Y, Q=3, L=2)   
plot(res, "hist")
plot(res, "incidence")

[Package ordinalLBM version 1.0 Index]