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.


jakobbossek/ecr2 documentation built on Sept. 23, 2023, 12:33 p.m.