discounting.model.generate.choice.set: Generate a random choice set for simulations.

Description Usage Arguments Value Examples

Description

Generate a random choice set for simulations.

Usage

1
discounting.model.generate.choice.set(n, x1.range, t1.range, x2.range, t2.range)

Arguments

n

How many choice sets should be created?

x1.range

What is the range of the earlier option's monetary value?

t1.range

What is the range of the earlier option's time of receipt?

x2.range

What is the range of the later option's monetary value?

t2.range

What is the range of the later option's time of receipt?

Value

A data frame containing choice sets and NA choices.

Examples

1
choices <- discounting.model.generate.choice.set(10, 10:20, 0:5, 10:30, 0:10)

johnmyleswhite/BehavioralEconomics documentation built on May 19, 2019, 5:17 p.m.