Learn R Programming

BNPdensity (version 2023.3.8)

grid_from_data: Create a plotting grid from censored or non-censored data.

Description

Create a plotting grid from censored or non-censored data.

Usage

grid_from_data(data, npoints = 100)

Value

a vector containing the plotting grid

Arguments

data

Input data from which to compute the grid.

npoints

Number of points on the grid.