dichot_smooth(dosecolumn = "", targetcolumn = "", k = 4, return_predict = FALSE, write_predict = TRUE, STD_bias = TRUE, data = NA)
The parameter 'k', defaulted to 4, defines the number of dimensions the spline function will use in estimating the response relation. With 2 reserved for each end of the smooth, the default allows for 2 bends in the smooth. In the case that this appears to overfit the data, the user may choose to override the default to 3, which would allow only one bend.