View source: R/bayesianSplineFit.R
calculate the acceptance probability for a given update step in the Bayesian spline model run.
1 | prob.acceptance(fit, action)
|
fit |
the bayes.splines.fit object |
action |
the update action. Valid values are "knot.add", "knot.remove", "knot.move", "fixedEffects", "fixedEffectsCovariates" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.