weibull: Weibul

Description Usage Arguments Value

Description

Weibull function is a core type function.
It's CDF formula is: y = 2*m*s*(log(x) - log(m)) / log(2) + log(log(2))
It's PDF formula is: y = 2*m*s/log(2)/x

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
weibull(x, params)

weibull.orig(x, params)

weibull.inverse(x, params)

## S3 method for class 'orig.cdf'
weibull(x, params)

## S3 method for class 'orig.pdf_x'
weibull(x, params)

## S3 method for class 'orig.pdf_p1'
weibull(x, params)

## S3 method for class 'orig.pdf_p2'
weibull(x, params)

## S3 method for class 'inverse.cdf'
weibull(x, params)

## S3 method for class 'inverse.pdf'
weibull(x, params)

Arguments

x

Vector of x parametres

params

Weibull function has two parameters \n m marks the x coordinate where function reaches the midpoint. \n s adjusts the slope of the fuction

Value

Vector of result vaues


LuchTiarna/PsyMetFuns documentation built on May 5, 2019, 2:43 a.m.