Learn R Programming

dpseg (version 0.1.1)

plot.dpseg: Plot method for a dpseg segmentation model.

Description

Plot method for a dpseg segmentation model.

Usage

# S3 method for dpseg
plot(x, delog = FALSE, col, main, ...)

Arguments

x

result object returned by function dpseg

delog

plot exp(y)

col

optional color vector for segments

main

plot title, dpseg parameters will be plotted if missing

...

arguments passed to default plot function

Value

Silently returns the x$segments table , with color values added if they were missing in the input.