Skip to contents

Computes the summary score mh_y_ppsss__dist__pers_count Prodromal Psychosis Scale [Youth] (Persistent Distress Count): Number of times criteria met

This function creates a static variable from longitudinal data.

  • Summarized variables:

    • mh_y_pps__dist__pers_score (intermediate score)

  • Excluded values: none

  • Validation criterion: none

Usage

compute_mh_y_ppsss__dist__pers_count(
  data,
  name = "mh_y_ppsss__dist__pers_count"
)

Arguments

data

tbl. Data frame containing the columns to be summarized.

name

character. Name of the summary score column.

Value

a tibble of the participant_id column and the new static column