followrole — return the role of a chimp in a follow
VARCHAR
followrole
(
|
followid, | |
chimpid); |
INT
followid
;
VARCHAR(5)
chimpid
;A function which returns the role,
i.e. M, I,
or S of a chimpid in a follow,
or NF if the chimp is not a focal
in the follow.
Note that the role, returned by followrole(),
is able to distinguish twins from other infants or siblings
whereas the function, returned by followfunc(), does
not make this distinction.
A NULL is returned if any of the input arguments are
NULL.