intern_get_max_time_unit_of_interest: intern_get_max_time_unit_of_interest

View source: R/intern_get_max_time_unit_of_interest.R

intern_get_max_time_unit_of_interestR Documentation

intern_get_max_time_unit_of_interest

Description

Internal function. Please refer to run_synthetic_forecast documentation.

Usage

intern_get_max_time_unit_of_interest(
  df,
  col_unit_name,
  unit_of_interest,
  col_time
)

Arguments

df

Main DataFrame.

col_unit_name

String with column name of the column with the units names.

unit_of_interest

Value of the col_unit_name that is of interest.

col_time

String with the column name of the time column.

Details

Intern function to compute the max time period of the unit of interest.

Value

Same type as col_time, max value.


SynthCast documentation built on March 18, 2022, 5:48 p.m.