View source: R/basic_functions.R
compute_starting_point_sann | R Documentation |
Compute a starting point for the Simulated Annealing algorithm.
compute_starting_point_sann(beta_expe)
beta_expe |
a numerical vector, the expectation of the coefficient function posterior sample. |
a matrix with 3 columns : "m", "l" and "b". The two first columns define the begin and the end of the intervals and the third gives the mean values of each interval.
data(res_bliss1)
mystart<-compute_starting_point_sann(apply(res_bliss1$beta_sample[[1]],2,mean))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.