Learn R Programming

fitdistrplus (version 1.1-8)

groundbeef: Ground beef serving size data set

Description

Serving sizes collected in a French survey, for ground beef patties consumed by children under 5 years old.

Usage

data(groundbeef)

Arguments

Format

groundbeef is a data frame with 1 column (serving: serving sizes in grams)

Examples

Run this code
# (1) load of data
#
data(groundbeef)

# (2) description and plot of data
#
serving <- groundbeef$serving
descdist(serving)
plotdist(serving)

# (3) fit of a Weibull distribution to data
#
fitW <- fitdist(serving,"weibull")
summary(fitW)
plot(fitW)
gofstat(fitW)

Run the code above in your browser using DataLab