densityCurve: Density Curve

View source: R/utils-stats.R

densityCurveR Documentation

Density Curve

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

densityCurve(x)

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.


VEuPathDB/plot.data documentation built on Feb. 20, 2025, 6:33 p.m.