compare_dens: Plot and Compare Densities

View source: R/compare_dens.R

compare_densR Documentation

Plot and Compare Densities

Description

Plot empirical and theoretical density of the result of the digital PCR experiment.

Usage

compare_dens(input, moments = TRUE, ...)

Arguments

input

object of class dpcr containing only one run.

moments

logical, if TRUE, both theoretical and empirical moments are printed on the plot.

...

other arguments passed to the plot function.

Author(s)

Michal Burdukiewcz.

See Also

moments is used to calculate moments of Poisson distribution.

Examples


adpcr_big <- sim_adpcr(m = 35, n = 40, times = 50, pos_sums = FALSE, n_panels = 1)
compare_dens(adpcr_big, moments = TRUE)


michbur/dpcR documentation built on Nov. 17, 2022, 5:02 a.m.