The exclude_resolution() function removes
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 excludes rows
that have unacceptable screen resolutions.
For a function that checks for these rows, use check_resolution().
For a function that marks these rows, use mark_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.
silent
Logical indicating whether to print message to console. Note
this argument controls the exclude message not the check message.