# Nesting over Body contact

Aim

To pick out the track segments corresponding to when one the subject was in contact or not in contact with another subject.

Nesting vs. Nesting over Subjects

Notice the difference when there are multiple subjects in the same arena:

▪To select data of a subject based on that subject being in contact with any other subject, choose Body contact under Nesting. In the Receivers tab specify which subject was in contact with the focal subject. See the procedure below.

▪To select data of a subject based on when other subjects were in contact with any subject, choose Body contact under Nesting over Subjects. There you find the Actors tab where you can specify which subjects were in contact with any other subject. See the notes below and also Nesting over subjects.

Procedure

1.In the Data Profile, under Nesting click the button next to Body contact.

2.In the Body contact window, select the state that defines the intervals to analyze.

For details on how Body contact is calculated, see Dependent Variables in Detail > Body contact.

3.Click OK. Proceed with step 4 in How to select track segments.

Notes

▪tip You can nest over “No contact” to filter out all the instances of body contact. For example, if contact situations result in subject identity swaps or nose-tail swaps.

▪If you select Body contact under Nesting over subjects, the Actors tab is also available. The track segments are selected based on the Body contact of the Actors. For example, if the arena contains three subjects and in the Actors tab you select Subject 1 and Subject 3, the data are selected when both Subject 1 and 3 are in contact with any subject, or when at least one of them is in contact with any other subject. For details and examples, see Nesting over subjects. With Nesting over subjects, you cannot specify body contact between two specific subjects. If you select Subject 1 and Subject 3 in the Actors tab, you will not get the track segments when those two subjects are in contact. Instead, you get the track segments when, depending on the options you choose, both subjects (or at least one) are in contact with any subject.