selectFit: Select fit

Description Usage Arguments Details Value

View source: R/kersplat-estimate.R

Description

Try a variety of fitting methods and select the best one

Usage

1
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


splatter documentation built on Dec. 3, 2020, 2:01 a.m.