Description Usage Arguments Value Examples
View source: R/scoreSchaefer.R
Calculates scenario-, subscale-, and total-scores based on a data frame. Users specify first column with relevant data, and function seeks out the rest automatically.
1 | scoreSchaefer(dat, firstq)
|
dat |
data frame |
firstq |
input character for the name of the column for the first variable (e.g., "Q2_1") |
data frame with new vectors of scores
1 | dat = scoreSchaefer(dat, firstq = "Q2_1")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.