fnDetermineScoreColumns: A function to determine which column or columns in a data...

Description Usage Arguments Note Author(s) Examples

View source: R/fnDetermineScoreColumns_DZ.R

Description

fnDetermineScoreColumns is designed to determine which column or columns in a data frame contain (numeric) scores. It operates based on a series of conditionals which evaluate aspects such as whether the variable is numeric, whether the values have a range typical of scoring schemes, or have ranges narrower or broader than scoring schemes used in PSMD.

Usage

1

Arguments

Dataframe

Dataframe is a data frame of which you want to determine the possible score column(s).

Note

DZ250417: This is currently an experimental function and will be updated to handle real data more accurately.

DZ250417: Build in a probabilistic element to provide the single best-guess if length(Possible.Score.Columns)>1.

Author(s)

Dr Daniel Zahra, e:[email protected]

Examples

1
2
3
fnDetermineScoreColumns.(dataExample) will return a list of column names for the columns the function thinks could be scores.

In the case of dataExamples, this is multiple possibilities. In reality, there is likely to be fewer. 

PSMD-Psychometrics/-old-psychometricsPSMD-old- documentation built on Sept. 23, 2017, 12:12 a.m.