# NOT RUN {
# Assume some variable follows a four-parameter Beta distribution with
# location parameters l = 0.25 and u = 0.75, and shape parameters a = 5
# and b = 3. To compute the first four raw, central, and standardized
# moments of this distribution using betamoments():
betamoments(a = 5, b = 3, l = 0.25, u = 0.75,
types = c("raw", "central", "standardized"), orders = 4)
# }
Run the code above in your browser using DataLab