Learn R Programming

ordinalLBM (version 1.0)

plot.olbm: Plot OLBM

Description

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

Usage

# S3 method for 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

Run this code
# NOT RUN {
data(olbm_dat)
res <- olbm(olbm_dat$Y, Q=3, L=2)   
plot(res, "hist")
plot(res, "incidence")
# }

Run the code above in your browser using DataLab