View source: R/return_scores.R
return_scores | R Documentation |
secuTrialdata
objectssecuTrial allows to set up calculated fields (i.e. scores) that depend on other items. It is not
suggested to use the scores calculated by secuTrial to perform reliable analyses. To this end,
calling return_scores
will return all items in the secuTrial export which are scores and should
be manually recalculated before data analysis.
return_scores(x)
x |
a |
a data.frame (columns: name, itemtype, label) that pinpoints which items are scores/calculated.
# export location
expot_loc <- system.file("extdata", "sT_exports", "lnames",
"s_export_CSV-xls_CTU05_long_ref_miss_en_utf8.zip",
package = "secuTrialR")
# read export
sT_export <- read_secuTrial(expot_loc)
# return scores
return_scores(sT_export)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.