Learn R Programming

EmpiricalDynamics (version 0.1.2)

read_empirical_data: Read Empirical Data from File

Description

Reads time series or panel data from various file formats and prepares it for use with EmpiricalDynamics functions.

Usage

read_empirical_data(file, time_col = NULL, date_format = NULL, ...)

Value

A data.frame with time column converted to numeric if needed.

Arguments

file

Path to the data file (CSV, RDS, or RData).

time_col

Name of the time/date column (auto-detected if NULL).

date_format

Date format string if time column is character.

...

Additional arguments passed to read.csv.