mark_resolution: Mark unacceptable screen resolution
Description
The mark_resolution() function creates a column labeling
rows that have unacceptable screen resolution.
The function is written to work with data from
Qualtrics surveys.
An object of the same type as x that includes a column marking rows
that have unacceptable screen resolutions.
For a function that checks for these rows, use check_resolution().
For a function that excludes these rows, use exclude_resolution().
Arguments
x
Data frame (preferably imported from Qualtrics using {qualtRics}).
res_min
Minimum acceptable screen resolution (width and height).
width_min
Minimum acceptable screen width.
height_min
Minimum acceptable screen height.
id_col
Column name for unique row ID (e.g., participant).
res_col
Column name for screen resolution (in format widthxheight).
rename
Logical indicating whether to rename columns (using rename_columns())
quiet
Logical indicating whether to print message to console.
print
Logical indicating whether to print returned tibble to
console.