Description Usage Arguments Value Examples
Function to fit the pearson distribution with BayesianMCMC method WE assume that the shape parameter only has a prior with mean zero and standard deviation 0.2 (dnorm(x[3], 0, 0.2))
1 | pearson_bayes(dat)
|
dat |
the data that needs fitting (i.e. flood data) |
param Estimated parameters and standard error returned as a list($estimate, $se)
1 2 3 | library(FlomKartShinyApp)
estimate = pearson_bayes(test_data)
FlomKartShinyApp::plot4server(test_data, param = estimate$estimate, distr = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.