Learn R Programming

biogrowth (version 0.2.0)

TimeDistribution: TimeDistribution class

Description

The TimeDistribution class contains an estimate of the probability distribution of the time to reach a given microbial count. Its constructor is distribution_to_logcount.

It is a subclass of list with the items:

  • distribution Sample of the distribution of times to reach log_count.

  • summary Summary statistics of distribution (mean, sd, median, q10 and q90).

Usage

# S3 method for TimeDistribution
plot(x, y = NULL, ..., bin_width = NULL)

Arguments

x

The object of class TimeDistribution to plot.

y

ignored.

...

ignored.

bin_width

A number that specifies the width of a bin in the histogram, see: geom_histogram. NULL by default.

Functions

  • plot.TimeDistribution: plot of the distribution of the time to reach a microbial count.