plot_bliss: plot_bliss

View source: R/Auxiliary_and_graphics_functions.R

plot_blissR Documentation

plot_bliss

Description

A suitable representation of the Bliss estimate.

Usage

plot_bliss(x, y, connect = FALSE, xlab = "", ylab = "", ylim = NULL, ...)

Arguments

x

the coordinates of points in the plot.

y

the y coordinates of points in the plot.

connect

a logical value (optional), to handle discontinuous function. If connect is TRUE, the plot is one line. Otherwise, several lines are used.

xlab

a title for the x axis.

ylab

a title for the y axis.

ylim

a numeric vectors of length 2, giving the y coordinate range.

...

Arguments to be passed to methods, such as graphical parameters (see par).

Examples


data(data1)
data(param1)
# res_bliss1 <- fit_Bliss(data=data1,param=param1,verbose=TRUE)

data(res_bliss1)
### Plot the BLiss estimate on a suitable grid
plot_bliss(res_bliss1$data$grids[[1]],
           res_bliss1$Bliss_estimate[[1]],lwd=2,bound=FALSE)

bliss documentation built on March 18, 2022, 5:46 p.m.