| FitVerse_datasets | R Documentation |
FitVerse includes several comma-separated value (CSV) files in
inst/extdata/ that can be used to explore the package's fitting
functions. All files are accessed with system.file().
fitverse())annual_max_flows.csvAnnual maximum daily peak flows (m^3/s) for the Rewa River at
Navolau, Fiji, covering a 75-year record (1950–2024). The data are
right-skewed; Gumbel, GEV, Log-Pearson III, and Log-Normal are
natural candidates.
wind_speeds.csvDaily maximum wind gust speeds (m/s) recorded at Nadi Airport, Fiji, over 200 days (2020–2024). Weibull and Rayleigh distributions are commonly used for wind data.
failure_times.csvFailure times (hours) from a life test of 150 aluminium electrolytic
capacitors under 85 {}^\circC stress. Weibull, Gamma,
Log-Normal, and Birnbaum-Saunders are typical reliability choices.
insurance_claims.csvResidential property insurance claim amounts (in thousands of USD) from 180 claims settled by Pacific Insurance Ltd between 2018 and 2024. Log-Normal, Gamma, and Pareto distributions are common in loss modelling.
concrete.csvCompressive strength (MPa) and mix-design variables for 1030 concrete
specimens (UCI Machine Learning Repository). The Strength
column is suitable for fitting; Normal, Gamma, and Weibull are
plausible choices.
fitverse_grouped())rainfall_grouped.csvAnnual maximum daily rainfall (mm) at Suva, Fiji, summarised into a
frequency table with columns midpoint and count
(80 years of record).
failure_times_grouped.csvFailure times for 120 electronic components given as an interval
frequency table with columns lower, upper, and
count.
insurance_losses_grouped.csvProperty insurance claim amounts for 250 claims given as an interval
frequency table with columns lower, upper, and
count.
Each file is a plain-text CSV with a column-name header row. Lines
beginning with # are comments describing the dataset. All
numeric values use the standard decimal point.
Karuna G. Reddy karuna.reddy@auckland.ac.nz
M. G. M. Khan mgm.khan@usp.ac.fj
fitverse for fitting to individual observations.
fitverse_grouped for fitting to grouped / interval data.
## Annual maximum flows
path <- system.file("extdata", "annual_max_flows.csv", package = "FitVerse")
x <- read.csv(path, comment.char = "#")$peak_flow_m3s
summary(x)
fit <- fitverse(x, xlab = "Peak flow (m3/s)", plot = FALSE)
print(fit)
## Grouped rainfall data
gpath <- system.file("extdata", "rainfall_grouped.csv", package = "FitVerse")
dat <- read_grouped_csv(gpath)
gfit <- fitverse_grouped(midpoints = dat$midpoints, counts = dat$counts,
xlab = "Rainfall (mm)")
print(gfit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.