R Functions commonly used to support clinical manuscript work