Outputs a character string with z-score and p-value for a specified psychopathology

report_trend_sign(data, psy)

Arguments

data

tbl. Data frame with results of the trend test

psy

character. Psychopathology variable name

Value

character. String reporting z-score and p-value, e.g., "z= 4.45, p < 0.001"