Topic: Utilities
Topic Description:
Basic R utilities used in many packages and functions, such as date and string manipulations, statistical distributions, geometry of lines and distances. The R package date is required for the two data functions.
File: utilities/distributions.r
| View File Source | Download File | No help file available |
Function: dweibull.3param
Function Description: dweibull.3param
PDF of three-parameter WeibullFunction Arguments:
| Argument | Default Value |
|---|---|
| x | |
| x0 | |
| shape | |
| scale |
Function Source:
dweibull.3param=function(x,x0,shape,scale)
{
z=(x-x0)/scale
y=(shape/(x-x0))*(z^shape)*exp(-z^shape)
y[x<=x0]=0
return(y)
}
{
z=(x-x0)/scale
y=(shape/(x-x0))*(z^shape)*exp(-z^shape)
y[x<=x0]=0
return(y)
}