| compute_su_y_cigexp__neg_prsum__v01 | R Documentation | 
Computes the summary score su_y_cigexp__neg_prsum__v01
Cigarette Expectancies (ASCQ) [Youth] (Strength of negative
expectancies): Prorated sum (v01)
Note: all 0s are changed to 1s prior to calculating pro-rated sum
Summarized variables:
su_y_cigexp__neg_001
su_y_cigexp__neg_002
Excluded values: none
Validation criterion: maximally 0 of 2 items missing
compute_su_y_cigexp__neg_prsum__v01(
  data,
  name = "su_y_cigexp__neg_prsum__v01",
  combine = TRUE,
  max_na = 0
)
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   | 
max_na | 
 numeric, positive whole number. Number of missing items allowed (Default: 1).  | 
tbl. The input data frame with the summary score appended as a new column.
compute_su_y_cigexp__neg_prsum()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.