carelessObject: Compute diagnostics for careless responding

View source: R/carelessObject.R

carelessObjectR Documentation

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
)

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.

Value

An object of class carelessObject.

Examples

carelessObject(mtcars);

ufs documentation built on July 9, 2023, 6:07 p.m.