simFit | R Documentation |
Simulate fits based on a given Fit object.
simFit(fit, Nsim = 50, seed = NA, saveable = !is.na(seed))
fit |
A Fit object obtained from the |
Nsim |
Number of simulations to perform. |
seed |
Seed for reproducibility. Default is NA. |
saveable |
Boolean indicating whether the simulation results should be saved. Default is !is.na(seed). |
A simulated Fit object.
# Simulate fits for the Exponential distribution Fit object
sim_exp <- simFit(fit_exp, Nsim = 100, seed = 123)
# Simulate fits for the Pareto distribution Fit object
sim_pareto <- simFit(fit_pareto, Nsim = 50, seed = 456)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.