View source: R/FunctionsPsychometric.R
GetPsychometric | R Documentation |
Makes it simple to do basic psychometrics
GetPsychometric( data, scaleNames, responseScale = list(c(1, 5)), typeSum = "Mean", itemLength = 6, reverse = T, idVar = "ID", name = "Psychometric", itemDictionary = NULL, itemList = NULL, reverseList = c() )
data |
A dataframe with the items and eventual extra variables |
scaleNames |
A vector with the names of the scales |
responseScale |
A list with vectors of response intervalls, either one (if all are the same) or one for each scale |
typeSum |
A functions used for summarizing the items to scales |
itemLength |
The number of significant characters in items |
reverse |
A boolean that sets whether items ending with 'R' should be reversed |
idVar |
The name of the case identifier (if none a case number variable called ID will be created) |
name |
The name of the object (optional) |
itemDictionary |
a textfile with information about scale, items and sign |
itemList |
a textfile with information about scale, items and sign |
reverseList |
a textfile with information about scale, items and sign |
A Psychometric object that can be used for analyses
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.