classify_vars: Classify BehaviorSpace experiment variables into independent...

View source: R/abs_load_data.R

classify_varsR Documentation

Classify BehaviorSpace experiment variables into independent and dependent.

Description

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.

Usage

classify_vars(df)

Arguments

df

The data frame from a BehaviorSpace experiment.

Value

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


jonathan-g/analyzeBehaviorspace documentation built on July 23, 2022, 11:01 a.m.