scoring_staiT: Scoring the STAI-Y1 (Trait version)

Description Usage Arguments Value Author(s)

View source: R/scoring_staiT.R

Description

Function to automatically score the STAI-Y1

Usage

1
2
scoring_staiT(input_staiT = x)
scoring_staiT(input_staiT = x, indices = c(1,20))

Arguments

input_staiT

Input data. It must be a rectangular matrix with column indicating items and rows indicating subjects.

indices

Two values vector indicating the first and the last item in the input data, in order to extract STAI-Y1 items from a larger dataframe.

Value

A dataframe with 1 columns representing the scores for STAI Trait version

Author(s)

Antonio Maffei


maffotto/antonioPack documentation built on May 25, 2019, 9:33 p.m.