Description Usage Arguments Details Value References See Also
SD_cutoff
returns dataframe of assessment flagged by Standard Deviation per assessment cutoff value.
1 |
data |
dataframe to be analyzed. |
cutoff |
numeric cutoff value for Standard Deviation, 'default' value set to 5. |
condition |
character string of condition that is desired for comparison of data to SD cutoff value, i.e <, >=, etc. 'Default' logic set to "<=". |
item.colnames |
vector of column names of all items/questions to be used to calculate item score Standard Deviation and Longstring responses. |
ID.colname |
character string of column name for ID of assessment. |
This function creates the dataframe that includes the ID and index of assessments that met the cutoff criterion for Standard Deviation per assessment. If an assessment has a Standard Deviation less than or equal to the cutoff value, it will be flagged and placed in the dataframe.
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 seen below.
Jaso, B.A., Kraus, N.I., Heller, A.S. (2020) Identification of careless responding in ecological momentary assessment: from post-hoc analyses to real-time data monitoring.
TPI_cutoff
for a similar function, using Time per Item rather than Standard Deviation.
Perc_Mode_cutoff
for a similar function, using Percent of Items at Mode rather than Standard Deviation.
See the following functions for more information on Careless Response Identification in EMA: flagging_df
, flagging_plots
, longstringr
, Combined_cutoff
, and Combined_cutoff_percent
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.