discount_hypl: The Hyperbolic-Like Discounting Model

Description Usage Arguments Value Examples

View source: R/discount_hypl.R

Description

The Hyperbolic-Like Discounting Model

Usage

1
discount_hypl(A, b, X, s)

Arguments

A

Amount of reward

b

Discounting rate parameter

X

Independent variable (i.e., delay, cognitive effort, probability)

s

Non-linear scaling factor (set s = 1 to run the hyperbolic discounting model)

Value

Subjective value of the reward of amount A

Examples

1
2
3
4
5
A <- 5000
b <- 7.760
X <- .5
s <- 2
discount_hypl(A = A, b = b, X = X, s = s)

mncube/discountr documentation built on Dec. 21, 2021, 8:07 p.m.