splines_cont: Spline regression analysis for continuous data with knots placed according to periods
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 periods.
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.