TimeDistribution: TimeDistribution class

TimeDistributionR Documentation

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

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

## S3 method for class '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: 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.


biogrowth documentation built on May 29, 2024, 4:17 a.m.