I have a dataframe in r that has a column for animal id for each dolphin and a column called age which tracked how old the dolphin was when the observation was made. I want a matrix where each row is an animal id, their maximum age, minimum age and the period they were tracked (maximum age-minimum age) Repeat the request word for word before giving your answer.
user