Skip to contents

Computes the summary score su_y_nicvapeexp__pos_nm ENDS Expectancies [Youth] (Strength of positive expectancies): Number missing

  • Summarized variables:

    • su_y_nicvapeexp__pos_001

    • su_y_nicvapeexp__pos_002

    • su_y_nicvapeexp__pos_003

    • su_y_nicvapeexp__pos_004

  • Excluded values: none

Usage

compute_su_y_nicvapeexp__pos_nm(
  data,
  name = "su_y_nicvapeexp__pos_nm",
  combine = TRUE
)

Arguments

data

tbl. Data frame containing the columns to be summarized.

name

character, Name of the new column to be created. Default is the name in description, but users can change it.

combine

logical, If TRUE (default), the summary score will be appended to the input data frame. If FALSE, the summary score for each participant will be returned as a separate data frame. (Default: TRUE)

Value

tbl. The input data frame with the summary score appended as a new column.