dpareto: The probability density function of the pareto distribution.

Description Usage Arguments Value Examples

Description

dpareto function evaluates the pdf of pareto dist. at given x with parameters.

Usage

1
dpareto(x, alpha, x_m, log.p = FALSE)

Arguments

x

the point where the pdf to be evaluated

alpha

the shape parameter of pareto dist.

x_m

the scale parameter of pareto dist.

log.p

use log.p = TRUE when you want to get a result in a log scale

Value

the pdf value of the pareto dist.

Examples

1
2
3
  dpareto(1:5, 2, 3)
  dpareto(1:5, 2, -3:3)
  dpareto(1:5, 2:5, 3)

issactoast/r4issactoast documentation built on May 19, 2019, 8:22 a.m.