selectFit {splatter} | R Documentation

## Select fit

### Description

Try a variety of fitting methods and select the best one

### Usage

    selectFit(data, distr, weights = NULL, verbose = TRUE)

### Arguments

`data` | The data to fit
`distr` | Name of the distribution to fit
`weights` | Optional vector of weights
`verbose` | logical. Whether to print progress messages

### Details

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.

### Value

The selected fit object

[Package splatter version 1.14.1 Index]