Fits distributions using settings adopted by BC, Canada, Australia and New Zealand for official guidelines.
Usage
ssd_fit_bcanz(
data,
left = "Conc",
...,
dists = ssd_dists_bcanz(),
rescale = FALSE,
silent = FALSE
)Arguments
- data
A data frame.
- left
A string of the column in data with the concentrations.
- ...
Unused.
- dists
A character vector of the distribution names.
- rescale
A flag specifying whether to leave the values unchanged (FALSE) or to rescale concentration values by dividing by the geometric mean of the minimum and maximum positive finite values (TRUE).
- silent
A flag indicating whether fits should fail silently.
See also
Other BCANZ:
ssd_hc_bcanz(),
ssd_hp_bcanz()
Examples
ssd_fit_bcanz(ssddata::ccme_boron)
#> Distribution 'gamma'
#> scale 25.1268
#> shape 0.950179
#>
#> Distribution 'lgumbel'
#> locationlog 1.92263
#> scalelog 1.23224
#>
#> Distribution 'llogis'
#> locationlog 2.62628
#> scalelog 0.740426
#>
#> Distribution 'lnorm'
#> meanlog 2.56165
#> sdlog 1.24154
#>
#> Distribution 'lnorm_lnorm'
#> meanlog1 0.949483
#> meanlog2 3.20102
#> pmix 0.283968
#> sdlog1 0.554465
#> sdlog2 0.768862
#>
#> Distribution 'weibull'
#> scale 23.514
#> shape 0.9661
#>
#> Parameters estimated from 28 rows of data.
