Learn R Programming

biogrowth (version 0.2.3)

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: geom_histogram. NULL by default.

Functions

  • 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.