Description Usage Arguments Value
Get the basis matrix for the Royston/Parmar-spline parameterization
1 | roy_parm_basis(x, all_log_knots, scaling_factor)
|
x |
Log-time, |
all_log_knots |
Knots, including boundary knots, on the scale of log(time) |
scaling_factor |
A constant which gammas > 1 will be divided by, so that coefficients are on similar scales; helpful for optimization/MCMC |
The basis matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.