scoreSeto: A function that scores Seto et al.'s Revised Screening Scale...

Description Usage Arguments Value Examples

View source: R/scoreSeto.R

Description

Calculates total SPPI-2 scores based on a data frame. Users specify first column with relevant data, and function seeks out the rest automatically.

Usage

1
scoreSeto(dat, firstq)

Arguments

dat

data frame

firstq

input character for the name of the column for the first SPPI variable (e.g., "RSS_1")

Value

data frame with new "SPPI2" vector of total scores

Examples

1
dat = scoreSeto(dat, firstq = "RSS_1")

jsakaluk/sexscales documentation built on Nov. 4, 2019, 3:24 p.m.