GetPsychometric: Getting the Psychometric class

View source: R/FunctionsPsychometric.R

GetPsychometricR Documentation

Getting the Psychometric class

Description

Makes it simple to do basic psychometrics

Usage

GetPsychometric(
  data,
  scaleNames,
  responseScale = list(c(1, 5)),
  typeSum = "Mean",
  itemLength = 6,
  reverse = T,
  idVar = "ID",
  name = "Psychometric",
  itemDictionary = NULL,
  itemList = NULL,
  reverseList = c()
)

Arguments

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

Value

A Psychometric object that can be used for analyses


psykmba/Psychometric_4 documentation built on July 3, 2022, 2:43 a.m.