Classify variables in a BehaviorSpace experiment data frame into dependent and independent. This function uses the fact that BehaviorSpace puts the independent variable columns before the [steps] column, and the dependent variables after.

classify_vars(df)

Arguments

df

The data frame from a BehaviorSpace experiment.

Value

A named list containing character vectors of independent and dependent variables.