R/rtrunpoilog.R
rtrunpoilog.Rd
rtrunpoilog
provides generated random numbers from truncated Poisson lognormal distribution with given parameters.
rtrunpoilog(n, mu, sd, a, b)
number of observations. If length(n) > 1 then the length is taken to be the number required.
the mean concentration (on the log scale).
the standard deviation of the normal distribution (on the log scale).
lower truncation points (lower domain of the number of cell counts).
upper truncation points (upper domain of the number of cell counts).
rtrunpoilog
generates random numbers from truncated Poisson lognormal distribution.
rtrunpoilog
provides generated random numbers from truncated Poisson lognormal distribution with given parameters. (this section will be updated later on).
n <- 100
mu <- 0
sd <- 1
a <- 0
b <- 300
rtrunpoilog(n, mu, sd, a, b)
#> [1] 1 1 3 2 1 5 1 1 3 12 1 4 2 7 10 1 1 2 2 1 1 3 2 1 1
#> [26] 4 2 14 4 2 1 2 2 1 1 1 1 1 3 2 2 3 2 2 4 6 3 1 5 4
#> [51] 1 1 2 1 2 3 1 1 6 2 1 1 1 1 1 1 1 3 1 1 1 3 4 2 4
#> [76] 2 1 2 1 1 7 2 1 4 1 1 1 3 2 1 1 1 1 1 2 2 7 2 2 3