Learn R Programming

climwin (version 1.2.31)

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.

Usage

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

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

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.

Author

Martijn van de Pol and Liam D. Bailey

Examples

Run this code
# 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")

Run the code above in your browser using DataLab