powered by
Uses Nelder-Mead simplex algorithm to minimize fitting norms.
fitDist( data, dist, n.points, norm, constrain, opts = list(algorithm = "NLOPT_LN_NELDERMEAD", xtol_rel = 1e-08, maxeval = 10000) )
value to be fitted
name of the distribution to be fitted
number of points to be subsetted from ecdf
norm used for distribution fitting - id ('N1', 'N2', 'N3', 'N4')
logical - constrain shape2 parametes for finite tails
minimization options
x <- fitDist(rnorm(1000), 'norm', 30, 'N1', FALSE) x
Run the code above in your browser using DataLab