Learn R Programming

MSigSeg (version 0.2.0)

multi_plot: Plot function of MSigSeg package.

Description

Graph signals and breakpoints based on ggplot2 and ggarange packages.

Usage

multi_plot(m, ncol, nrow)

Value

A list, first item in the list is a graphic objects with all signals drawn and second is a list with individual signals.

Arguments

m

An object of S4 class "MSigSeg".

ncol

Column numbers of signals arrangement in the graph.

nrow

Row numbers of signals arrangement in the graph

Examples

Run this code
data(data_test)
m <- segmentation(data_test,100)
p <- multi_plot(m,4,5)

Run the code above in your browser using DataLab