expand_state: Expand Time-Dependant States into Tunnel States

Description Usage Arguments Value

View source: R/expand.R

Description

This function for transition matrices and state values expands states relying on state_time in a serie of tunnels states.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
expand_state(x, ...)

## S3 method for class 'uneval_matrix'
expand_state(x, state_pos, state_name, cycles, n = 1)

## S3 method for class 'uneval_state_list'
expand_state(x, state_name, cycles)

## S3 method for class 'uneval_inflow'
expand_state(x, ...)

## S3 method for class 'uneval_init'
expand_state(x, state_name, cycles)

Arguments

x

A transition matrix or a state list.

...

Addition parameters passed to methods.

state_pos

Position of the state to expand.

state_name

Original name of the sate to expand.

cycles

Number of cycle of the model.

n

Postition in the expansion process.

Value

The same object type as the input.


heemod documentation built on Sept. 15, 2017, 5:02 p.m.