plot_count_ensemble: Plot count ensemble.

View source: R/plot_count_ensemble.R

plot_count_ensembleR Documentation

Plot count ensemble.

Description

Plot count ensemble.

Usage

plot_count_ensemble(
  count_ensemble,
  times,
  use_ggplot2 = FALSE,
  axis_x_res = 100,
  axis_y_res = 1
)

Arguments

count_ensemble

A matrix with comlumns that each refer to a probable count sequence and rows refer to the count of events at a given time.

times

A vector of times stamps that correspond to the times of the count_ensemble rows.

use_ggplot2

Logical. Should the package ggplot2 be used for plotting?

axis_x_res

The resolution for the plotted x axis (time). Not used if use_ggplot2 == T.

axis_y_res

The resolution for the plotted y axis (count). Not used if use_ggplot2 == T.

Value

This plot function returns NULL if use_ggplot2 == FALSE or a ggplot2 object if use_ggplot2 == T.


wccarleton/chronup documentation built on March 29, 2023, 1:24 a.m.