Added separator comments to improve readability of r code.