View source: R/Auxiliary_and_graphics_functions.R
lines_bliss | R Documentation |
Add a line to a plot obtained with image_Bliss
.
lines_bliss(x, y, col = "black", lty = "solid")
x |
the coordinates of points in the plot. |
y |
the y coordinates of points in the plot. |
col |
a color. |
lty |
option corresponding to "linetype" of |
data(data1)
data(param1)
data(res_bliss1)
image_Bliss(res_bliss1$beta_posterior_density,param1,q=1) +
lines_bliss(res_bliss1$data$grids[[1]],res_bliss1$smooth_estimate[[1]])+
lines_bliss(res_bliss1$data$grids[[1]],res_bliss1$Bliss_estimate[[1]],col="purple")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.