choose_knots_quantile: Choose Knots at Quantiles
Description
A function to choose knots for fitting b-splines by the quantile of x
Usage
choose_knots_quantile(x, num_knots)
Value
a vector containing the locations of the knots
Arguments
- x
vector of treatment doses
- num_knots
the number of knots to use