plot.mable: Plot mathod for class 'mable'

View source: R/mable.r

plot.mableR Documentation

Plot mathod for class 'mable'

Description

Plot mathod for class 'mable'

Usage

## S3 method for class 'mable'
plot(
  x,
  which = c("density", "cumulative", "survival", "likelihood", "change-point", "all"),
  add = FALSE,
  contour = FALSE,
  lgd.x = NULL,
  lgd.y = NULL,
  nx = 512,
  ...
)

Arguments

x

Class "mable" object return by mablem, mable, mablem.group or mable.group functions which contains p, mloglik, and M = m0:m1, lk, lr,

which

indicates which graphs to plot, options are "density", "cumulative", "likelihood", "change-point", "all". If not "all", which can contain more than one options.

add

logical add to an existing plot or not

contour

logical plot contour or not for two-dimensional data

lgd.x, lgd.y

coordinates of position where the legend is displayed

nx

number of evaluations of density, or cumulative distribution curve to be plotted.

...

additional arguments to be passed to the base plot function

Value

The data used for 'plot()', 'lines()', or 'persp()' are returned invisibly.


mable documentation built on Aug. 24, 2023, 5:10 p.m.