rdispl: Discrete Powerlaw Random Generator

Description Usage Arguments Examples

View source: R/rdispl.R

Description

Random generator of discrete power law distribution with parameters xmin and alpha.

Usage

1
rdispl(n, xmin, alpha, xmax = 1e+05)

Arguments

n

Number of observations.

xmin

The lower bound of the powerlaw distribution.

alpha

The scaling parameter.

xmax

The maximum value generated.

Examples

1
x = rdispl(n = 1e4, xmin = 10, alpha = 2.5, xmax = 1e5)

Example output

Warning message:
no DISPLAY variable so Tk is not available 

staTools documentation built on May 2, 2019, 2:17 a.m.

Related to rdispl in staTools...