lines_bliss: lines_bliss

View source: R/Auxiliary_and_graphics_functions.R

lines_blissR Documentation

lines_bliss

Description

Add a line to a plot obtained with image_Bliss.

Usage

lines_bliss(x, y, col = "black", lty = "solid")

Arguments

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 geom_line.

Examples

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")


bliss documentation built on May 29, 2024, 8:35 a.m.