Sixteen round-trip MBTA commuter rail trains were canceled throughout the day on Sunday due to a staffing shortage, officials said.

Six hundred passengers were affected, according to spokesperson for Keolis Leslie Aun. Keolis is the operator of the commuter rail system and handles staffing, operations, and repairs. The company was able to transport most of the affected passengers by buses.

The shortage was caused by a combination of issues, Aun said. A full crew was given time off after a man was hit and killed by the commuter rail in Franklin Saturday. Two additional crew members were out due to a death in the family and an illness, respectively.