Learn R Programming

bistablehistory (version 1.1.2)

evaluate_history_init: Evaluates validity of initial history values.

Description

Checks number and range of values. If a scalar is passed, uses same value for both states.

Usage

evaluate_history_init(history_init)

Value

A vector of two values

Arguments

history_init

Either a single value or a pair of values within 0..1 range.

Examples

Run this code
evaluate_history_init(0.5)

Run the code above in your browser using DataLab