complete_restrictions: Complete input restrictions

View source: R/complete_input.R

complete_restrictionsR Documentation

Complete input restrictions

Description

Complete input restrictions

Usage

complete_restrictions(restrictions, xmat)

Arguments

restrictions

Dataframe of restrictions, must have columns ns, lu.to and value

xmat

Dataframe of xmat, must have columns ns, ks and value

Value

Completed dataframe with lu.from and all combinations

Internal function. Adds missing columns and completes potential sparse dataframes.


tkrisztin/downscalr documentation built on June 2, 2025, 1:16 a.m.