Check scale for typos

check_scale(data, var.names, min, max)

Arguments

data

A data-frame

var.names

Character vector with variable names

min

minimum of scale

max

maximum of scale

Value

A dataframe containing all cases with values above and below the allowed values.