Learn R Programming

heemod (version 1.0.2)

expand_state: Expand Time-Dependent States into Tunnel States

Description

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

Usage

expand_state(x, ...)

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

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

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

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

Value

The same object type as the input.

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

Position in the expansion process.