R/helper_functions.R
choose_knots_quantile.Rd
A function to choose knots for fitting b-splines by the quantile of x
choose_knots_quantile(x, num_knots)
vector of treatment doses
the number of knots to use
a vector containing the locations of the knots