mg_function_extract_spreaded_ts: mg_function_extract_spreaded_ts

Description Usage Arguments Value Examples

View source: R/mg_function_extract_spreaded_ts.R

Description

extract a spreaded time series from the dataframe used in function mg_function_check_number_complete_time_series

Usage

1
mg_function_extract_spreaded_ts(start_zeitpunkt, input_settings, df)

Arguments

start_zeitpunkt

starting time for which the time series should be extracted. Has to be same as from function mg_function_check_number_complete_time_series

input_settings

dataframe with the input settings of function mg_function_check_number_complete_time_series, generated by this function

df

dataframe which contains the value and date column

Value

dataframe of the time series in wide format with equal distances:

Examples

1
2
3
spreaded_ts<- mg_function_extract_spreaded_ts(start_zeitpunkt = df_complete_time_series$number_of_timeseries$start_zeitpunkt[1],
                                              input_settings = df_complete_time_series$input_settings,
                                              df = wasserstand_projekt)

mghydro/LSHydroMG documentation built on Jan. 28, 2022, 3:31 p.m.