ls per calendar time unit — piecewise_cal_cont"><meta name="description" content="This function performs linear regression taking into account all trial data until the arm under study leaves the trial and adjusting for time using discontinuous piecewise polynomials in each calendar time unit."><meta property="og:description" content="This function performs linear regression taking into account all trial data until the arm under study leaves the trial and adjusting for time using discontinuous piecewise po