dist: distribution to be truncated, defaults to lnorm
coeff: list of parameters for the truncated distribution, defaults to list(meanlog=0,sdlog=1)
lowertrunc, uppertrunc: lowertrunc- and uppertrunc truncation points, defaults to 0 and Inf respectively
log, log.p: logical; if TRUE, probabilities p are given as log(p).
lower.tail: logical; if TRUE (default), probabilities (moments) are P[X≤x](E[xr∣X≤y]), otherwise, P[X>x](E[xr∣X>y])
p: vector of probabilities
r: rth raw moment of the distribution
truncation: lowertrunc truncation parameter, defaults to 0.
n: number of observations
Returns
dtruncdist gives the density, ptruncdist gives the distribution function, qtruncdist gives the quantile function, mtruncdist gives the rth moment of the distribution and rtruncdist generates random deviates.
The length of the result is determined by n for rpareto, and is the maximum of the lengths of the numerical arguments for the other functions.