lines_bliss {bliss}R Documentation

lines_bliss

Description

A suitable representation of the Bliss estimate.

Usage

lines_bliss(x, y, connect = FALSE, ...)

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.

...

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

Examples

### Plot the BLiss estimate on a suitable grid

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)
lines_bliss(res_bliss1$data$grids[[1]],
            res_bliss1$Smooth_estimate[[1]],lty=2)

[Package bliss version 1.0.4 Index]