PSQIScore | R Documentation |
Calculates PSQI subscales and total scores
PSQIScore(inputTbl, wv = "")
inputTbl |
A tbl_df with SSID, then all raw PSQI numeric items in order. |
wv |
Character string with the wave number (defaults to empty string). This string is appended (with a period) to the component names, which are all of the form >> pscN << (N = 1, 2, ...7, Tot). So if This string is nonempty, these names will all be of the form pscN.v(wv), where v() means "the value of". |
A tbl_df of SSID, PSQI scored items (7), and a total, hence N x 9.
All columns are converted to 'numeric'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.