plotStatistics: Generate line plot of logged statistics.

View source: R/logger.default.R

plotStatisticsR Documentation

Generate line plot of logged statistics.

Description

Expects a data.frame of logged statistics, e.g., extracted from a logger object by calling getStatistics, and generates a basic line plot. The plot is generated with the ggplot2 package and the ggplot object is returned.

Usage

plotStatistics(x, drop.stats = character(0L))

Arguments

x

[ecr_statistics | ecr_logger]
Logger object or statistics data frame from logger object.

drop.stats

[character]
Names of logged statistics to be dropped. Default is the empty character, i.e., not to drop any stats.


ecr documentation built on March 31, 2023, 10:07 p.m.