selectFit {splatter} | R Documentation |
Try a variety of fitting methods and select the best one
selectFit(data, distr, weights = NULL, verbose = TRUE)
data |
The data to fit |
distr |
Name of the distribution to fit |
weights |
Optional vector of weights |
verbose |
logical. Whether to print progress messages |
The distribution is fitted to the data using each of the
fitdist
fitting methods. The fit with the
smallest Cramer-von Mises statistic is selected.
The selected fit object