get_yvars: Get the possible y-variables from an experiment

View source: R/abs_util.R

get_yvarsR Documentation

Get the possible y-variables from an experiment

Description

Given an x-variable to plot, get a list of the possible y-variables.

Usage

get_yvars(experiment, x_var)

Arguments

experiment

An experiment object, returned by load_bs_file(), load_bs_table(), or load_bs_spreadsheet().

x_var

The name of the x-variable to use in the plot.

Value

A data frame with the names of the possible y-variables and the corresponding columns in the experiment data frame.


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