Calculation of line days of venous catheterization (using R)