longstringr: EMA Careless Response Longstring Vector

Description Usage Arguments Details Value References See Also

View source: R/longstringr.R

Description

longstringr returns a vector of all Longstring values.

Usage

1
longstringr(data, item.colnames)

Arguments

data

dataframe to be analyzed.

item.colnames

vector of column names of all items/questions to be used to calculate item score Standard Deviation and Longstring responses.

Details

This function creates a vector of all Longstring values for the data.

Value

The item "item.colnames" must be the column names of all items to be included in the calculations for Item Score Standard Deviation. The base function colnames can be utilized if user prefers. If columns x through y are to be used for this calculation, the following syntax must be followed: item.colnames = colnames(data[,x:y]) Example of use with column names can bee seeen below.

References

Jaso, B.A., Kraus, N.I., Heller, A.S. (2020) Methods to automatically identify careless responding in ecological momentary assessment research: from post-hoc analyses to real-time data monitoring.

See Also

flagging_df for dataframe that includes Time to Complete per assessment, Time per Item per assessment, Standard Deviation per assessment, and Longstring per assessment.

flagging_plots for histograms of Time to Complete, Time per Item, Standard Deviation, and Longstring that were created from flagging_df.

The following functions once cutoff values have been determined: TPI_cutoff, SD_cutoff, Combined_cutoff, and Combined_cutoff_percent.


manateelab/EMAeval-R-Package documentation built on Oct. 13, 2021, 6:48 a.m.