rpareto: Random number generation for a Pareto r.v.

View source: R/rpareto.r

rparetoR 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)

LNPar documentation built on April 4, 2025, 5:07 a.m.