Skip to contents

Clean and preprocess financial data for analysis

Usage

process_financial_data(data, remove_outliers = TRUE, standardize = FALSE)

Arguments

data

Numeric matrix or data frame of returns

remove_outliers

Logical, whether to remove outliers

standardize

Logical, whether to standardize returns

Value

Processed data matrix