densityCurve: Density Curve

Description Usage Arguments Value

View source: R/utils.R

Description

This function computes gaussian kernal density estimates. The kernels are scaled such that the bandwidth is the standard deviation of the smoothing kernel.

Usage

1

Arguments

x

Numeric vector to calculate smoothed density estimates for

Value

data.table with two columns: x) the coordinates of the points where the density is estimated and y) the estimated density values. These will be non-negative, but can be zero.


d-callan/plot.data documentation built on Jan. 27, 2021, 8:37 a.m.