explore: Visualise the weight distribution for given parameter values
Description
Create a plot of the Weibull or Generalised Extreme Values (GEV) distribution
for given values of shape, scale and location parameters. Used to determine
initial parameter values for weightwin.
A parameter that determines the shape of the distribution.
Should be greater than 0.
scale
A parameter that determines the scale of the distribution.
Should be greater than 0.
loc
A parameter that determines the location of the distribution.
Should be less than or equal to 0.
weightfunc
Choose whether to use a weibull ("W") or GEV ("G")
distribution.
Value
explore will return an example plot of the distribution using
given parameter values. This can be used to select the initial parameter
values for weightwin
# NOT RUN {# Test a weibull distributionexplore(shape = 3, scale = 0.2, loc = 0, weightfunc = "W")
# Test a GEV distributionexplore(shape = 3, scale = 5, loc = -5, weightfunc = "G")
# }