linear: Linear

Description Usage Arguments Value

Description

Linear function is a core type function.
It's CDF formula is: y = a * x + b
It's PDF formula is: y = a

Usage

 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)

Arguments

x

Vector of x parametres

params

Linear function has to paramters: \n a - relative paramter \n b - absolute paramter

Value

Vector of result vaues


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