Description Usage Arguments Details Value References See Also
flagging_df
returns dataframe of Time to Complete per assessment, Time per Item per assessment, Standard Deviation of item response per assessment, and Longstring.
1 | flagging_df(data, ttc.colnames, item.colnames)
|
data |
dataframe to be analyzed. |
ttc.colnames |
vector of column names of "Start Time" and "End Time" to calculate time to complete, also can be "Completion Time" if already calculated. |
item.colnames |
vector of column names of all items/questions to be used to calculate item score Standard Deviation and Longstring responses. |
This function creates the dataframe of Time to Complete, Time Per Item, Item Score Standard Deviation, and Longstring. See function flagging_plots
for the histograms that are compiled from this dataframe.
The item "ttc.colnames"
must be the names of columns, corresponding to Start Time and End Time, ordered ttc.colnames = c("StartTime", "EndTime")
start time first, follwed by end time. If the data includes assessment duration, then list the column name that corresponds with assessment completion: ttc.colnames = "SurveyDuration"
.
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.
flagging_plots
for the histograms that were created from this dataframe.
longstringr
provides a dataframe of all the longstring values.
The following functions once cutoff values have been determined: TPI_cutoff
, SD_cutoff
, Combined_cutoff
, and Combined_cutoff_percent
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.