I have a dataframe with X,Z data for each participant, and 3 grouping variables, that looks like this:
X Z participantNum obsScenario startPos ta