Learn R Programming

sectorgap (version 0.1.0)

compute_gaps: Gaps of observation equations

Description

Computes the gap of each observable, i.e., it sums up the respective cycle and all cycles the observable additionally loads on.

Usage

compute_gaps(model, state, idx_state, idx_obs)

Value

A multiple time series object with gaps.

Arguments

model

state space model object, returned by the function define_ssmodel

state

state vector

idx_state

names of all cycle states

idx_obs

names of all observations (excluding constraints)