prep_odds_against {discAUC} | R Documentation |
Calculate odds against values for x_axis
for probability discounting
Description
Calculate odds against values for x_axis
for probability discounting
Usage
prep_odds_against(dat, x_axis, groupings = NULL)
Arguments
dat |
Discounting data tibble. |
x_axis |
Probabilities distance variable |
groupings |
Variables for grouping (e.g., subject, expeirmental group) as a character or vector of characters |
Value
Original data frame (a tibble) that includes an appended column odds against
Examples
prep_odds_against(examp_PD,
"prob",
groupings = c("subject", "outcome")
)
[Package discAUC version 1.0.0 Index]