Join us for
RADAR: AI Edition

biogrowth (version 1.0.6)

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
print(x, ...)

# S3 method for TimeDistribution summary(object, ...)

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

Arguments

x

The object of class TimeDistribution to plot.

...

ignored.

object

An instance of TimeDistribution.

y

ignored.

bin_width

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

Methods (by generic)

  • print(TimeDistribution): print of the model

  • summary(TimeDistribution): summary of the model

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