Visualise the weight distribution for given parameter values

Share:

Description

Create a plot of the Weibell or Generalised Extreme Values (GEV) distribution for given values of shape, scale and location parameters. Used to determine initial parameter values for weightwin.

Usage

1
explore(shape = 1, scale = 1, loc = 0, weightfunc = "W")

Arguments

shape

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

Author(s)

Martijn van de Pol and Liam D. Bailey

Examples

1
2
3
4
5
6
7
# Test a weibull distribution

explore(shape = 3, scale = 0.2, loc = 0, weightfunc = "W")

# Test a GEV distribution

explore(shape = 3, scale = 5, loc = -5, weightfunc = "G")

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.