Private function to get sub-sample level and top-level SAid for SA data

getSubSampleLevel(SAdata, SAidToCheck, subSampleLevel = 1)

Arguments

SAdata

The SA data to check

SAidToCheck

The SAid to check

subSampleLevel

The currrent level of sampling

Value

Whoever revises this function please specify what it returns here