splines_cal_cont: Spline regression analysis for continuous data with knots placed according to calendar time units
Description
This function performs linear regression taking into account all trial data until the arm under study leaves the trial and adjusting for time using regression splines with knots placed according to calendar time units.
Integer. Number of patients per calendar time unit. Default=25.
ncc
Logical. Indicates whether to include non-concurrent data into the analysis. Default=TRUE.
bs_degree
Integer. Degree of the polynomial spline. Default=3 for cubic spline.
check
Logical. Indicates whether the input parameters should be checked by the function. Default=TRUE, unless the function is called by a simulation function, where the default is FALSE.
...
Further arguments passed by wrapper functions when running simulations.