rpareto {LNPar}R Documentation

Random number generation for a Pareto r.v.

Description

This function simulates random numbers for a Pareto r.v.

Usage

rpareto(n, xmin, alpha)

Arguments

n

positive integer: number of simulated random numbers.

xmin

positive scalar: Pareto scale parameter.

alpha

non-negative scalar: Pareto shape parameter.

Value

n iid random numbers from the Pareto distribution.

Examples

ySim <- rpareto(5,4,1.5)

[Package LNPar version 0.1.0 Index]