get_freq_task_param: get_freq_task_param

Description Usage Arguments Value

View source: R/utils.R

Description

find the most frequent task parameter given the df

Usage

1
get_freq_task_param(df, param = "sb_mag")

Arguments

df:

dataframe with risky trials

param:

task parameter name, 'sb_mag', 'lottery_mag', 'lottery_prob' and 'total_rew_multi'

Value

numeric


xiaoyuezhuu/risky-muscimol documentation built on Jan. 7, 2022, 12:27 a.m.