Description Usage Arguments Value Author(s)
View source: R/scoring_staiT.R
Function to automatically score the STAI-Y1
1 2 | scoring_staiT(input_staiT = x)
scoring_staiT(input_staiT = x, indices = c(1,20))
|
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. |
A dataframe with 1 columns representing the scores for STAI Trait version
Antonio Maffei
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.