Learn R Programming

BNPdensity (version 2020.3.4)

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)

Arguments

data

Input data from which to compute the grid.

npoints

Number of points on the grid.

Value

a vector containing the plotting grid