create_reject_col: Update the Reject column based on the approve column

Description Usage Arguments Value Examples

View source: R/create_reject_col.R

Description

Update the Reject column based on the approve column

Usage

1
create_reject_col(df, keep, fail)

Arguments

df

the batch data frame provided from the create_approve_col() function

keep

The keep character that gets returned from the discard_list function

fail

character vector of participants that failed the attention check

Value

a data frame with the reject column that has been updated" it will inform that they either failed the attention check or that the mturk code does not match. If both are not the case then participants will be comnpensated and the reponse coloum willl have an epmty string

Examples

1
create_reject_col(batch_data, keep, fail)

andr3wli/mturkr documentation built on Feb. 19, 2022, 1:47 p.m.