plot.olbm: Plot OLBM

Description Usage Arguments Examples

View source: R/MainCode.R

Description

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

Usage

1
2
## 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

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

ordinalLBM documentation built on May 2, 2019, 11:04 a.m.