dgev: dgev

Description Usage Arguments Value Examples

View source: R/gen.GEV.R

Description

Density function of Generalized Extreme Value distribution

Usage

1
dgev(x, loc = 0, scale = 1, shape = 0, log = FALSE)

Arguments

x

[vector] Vector of values

loc

[vector] Location parameter

scale

[vector] Scale parameter

shape

[vector] Shape parameter

log

[bool] Return log of density if TRUE, default is FALSE

Value

[vector] Density of GEV at x

Examples

1
2
3
4
5
6
## Data
loc = 1
scale = 0.5
shape = -0.2
x = base::seq( -5 , 5 , length = 1000 )
y = dgev( x , loc = loc , scale = scale , shape = shape )

ROOPSD documentation built on Aug. 26, 2020, 5:15 p.m.

Related to dgev in ROOPSD...