create_initial_config: Create Initial Value Configuration
Description
Defines the configuration for loading the initial dataset, including path, format,
variable header, and value column name. Used as input for shock_calculate
and shock_calculate_uniform.
Usage
create_initial_config(path, format, header, value_col = "Value")
Value
A list containing:
path: input file path
format: file format ("har" or "sl4")
header: target header name
value_col: column name for numeric values
Arguments
path
Path to the initial data file.
format
File format of the initial dataset. Must be "har" or "sl4".
header
Header name within the HAR or SL4 file to extract.
value_col
Name of the column containing numeric values. Default is "Value".
Author
Pattawee Puangchit
Details
Supports HAR and SL4 file formats
Specifies the header name to extract from the dataset
Allows custom naming for the value column (Value by default)