weibull: Generate n pseudo random numbers from a Weibull distribution.

View source: R/weibull.R

weibullR Documentation

Generate n pseudo random numbers from a Weibull distribution.

Description

Generate n pseudo random numbers from a Weibull distribution.

Usage

weibull(n = 1, lambda = 1, k = 1, seed = as.integer(Sys.time()))

Arguments

n

the number of pseudo random Weibull numbers to generate. Defaults to 1.

lambda

Scale parameter of the distribution. Defaults to 1.

k

shape parameter of the distribution. Defaults to 1.

seed

Seed for pseudo random number generating algorithm. Defaults to a integer generated from the system time

Value

vector of Weibull random variants of length n

Examples

weibull(n=1e5, lambda = 1, k = 1)

donovanquimby/simulationRNG documentation built on March 19, 2022, 12:46 p.m.