This function is to get a handset of a set and calculate the kappa
getHandSet(set, handSetLength, handSetBaserate, returnSet = FALSE)
| set | This is the set to take a handset of |
|---|---|
| handSetLength | This is the length of the handset to take |
| handSetBaserate | This is the minimum baserate to inflate the handset to |
| returnSet | If TRUE, then return the handSet if FALSE, return the kappa of the handSet |
The function returns the handSet if returnSet is TRUE or the kappa of the handSet if not