View source: R/abs_load_data.R
process_bs_data | R Documentation |
.csv
file.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)
d |
A data frame read from a BehaviorSpace .csv file. |
quiet |
Logical value indicating whether to run quietly or report progress messages. |
This function is generally not run by the user, but is called internally
by load_bs_file()
, load_bs_table()
, or load_bs_spreadsheet()
.
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.
load_bs_file()
, load_bs_table()
, and load_bs_spreadsheet()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.