Learn R Programming

ufs (version 0.5.12)

carelessObject: Compute diagnostics for careless responding

Description

This function is a wrapper for the functions from the careless package. Normally, you'd probably call carelessReport which calls this function to generate a report of suspect participants.

Usage

carelessObject(
  data,
  items = names(data),
  flagUnivar = 0.99,
  flagMultivar = 0.95,
  irvSplit = 4,
  responseTime = NULL
)

Value

An object of class carelessObject.

Arguments

data

The dataframe.

items

The items to look at.

flagUnivar

How extreme a score has to be for it to be flagged as suspicous univariately.

flagMultivar

This has not been implemented yet.

irvSplit

Whether to split for the IRV, and if so, in how many parts.

responseTime

If not NULL, the name of a column containing the participants' response times.

Examples

Run this code
carelessObject(mtcars);

Run the code above in your browser using DataLab