Return to Snippet

Revision: 7270
at July 16, 2008 11:04 by xenonite


Initial Code
rpareto = function(n,xm,k) { (1-runif(n))^(-1/k) * xm }

Initial URL

                                

Initial Description
xm = minimum, k=pareto index

Initial Title
Generate Pareto random variate in R

Initial Tags

                                

Initial Language
R