plotStatistics {ecr}R 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.


[Package ecr version 2.1.0 Index]