This project includes analysis code for the paper: "Within-Session Sudden Changes in Expressed Suicide Risk during Crisis Counseling"
- Check package versions in
versions.txt. You may use different versions, though the same output cannot be guaranteed. - Open
get_sudden_shifts.R, customize the path to your own dataset. Make sure to match the variable names or you may want to change the variable names yourself - Source
get_sudden_shifts.R. This will save a new dataset namedsudden_changes.csv - Open
analysis.R, customize the path to your own datasets. - Run certain codes in
analysis.Rbased on what statistics you want to get.