preprocessing#

Preparing the data once, before any analysis or figure (see prepare()).

Functions

add_day_column_to_df

Add a day column (year_month_day, text "YYYY-MM-DD") to the dataframe.

add_trial_of_day_column_to_df

Add a trial of the day column to the dataframe.

analyze_df

Analyze the dataframe adding new columns and filling missing data.

fill_missing_data

Fill missing data in the dataframe.

prepare

Prepares the trials of one or several subjects for any analysis or figure.

reformat_df_columns