Description Usage Arguments Value
Linear function is a core type function.
It's CDF formula is: y = a * x + b
It's PDF formula per x is: y = a
It's PDF formula per a is: y = x
It's PDF formula per b is: y = 1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | linear(x, params)
linear.orig(x, params)
linear.inverse(x, params)
## S3 method for class 'orig.cdf'
linear(x, params)
## S3 method for class 'orig.pdf_x'
linear(x, params)
## S3 method for class 'orig.pdf_p1'
linear(x, params)
## S3 method for class 'orig.pdf_p2'
linear(x, params)
## S3 method for class 'inverse_x.cdf'
linear(x, params)
## S3 method for class 'inverse_x.pdf_x'
linear(x, params)
|
x |
Vector of x parametres a and b |
params |
Linear function has to paramters: \n a - relative paramter \n b - absolute paramter |
Vector of result vaues
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.