R Code for MARK Analysis