You have a set of tests: A, B, C, D
Each test has subscales: X, Y, Z
At each level of test, you want to score all subscales, so
A: X, Y, Z
B: X, Y, Z
. . . and so on
Jenny suggested that instead of thinking of this as an iteration problem, it's best to wrangle the data so that the two columns test, subscale are unnested into a single column
You have a set of tests: A, B, C, D Each test has subscales: X, Y, Z At each level of test, you want to score all subscales, so A: X, Y, Z B: X, Y, Z . . . and so on Jenny suggested that instead of thinking of this as an iteration problem, it's best to wrangle the data so that the two columns
test
,subscale
are unnested into a single column