process_bs_data() takes a data frame read from a .csv file with
BehaviorSpace output and organizes it into an R representation of
a BehaviorSpace experiment.
process_bs_data(d, quiet = TRUE)A named list with elements:
data: a data frame containing the experiment data.
ind_vars: a character vector with the names of the independent
variables.
dep_vars: a character vector with the names of the dependent
variables.
mapping: a data frame mapping columns in data to variable
names. By default, this just maps column names to themselves.
success: A logical variable indicating success or failure.
cause: A character variable indicating the cause of failure.
This function is generally not run by the user, but is called internally
by load_bs_file(), load_bs_table(), or load_bs_spreadsheet().