ssm_score function

Calculate SSM parameters by row and add results as new columns