Learn R Programming

topolow (version 1.0.0)

unweighted_kde: Unweighted Kernel Density Estimation

Description

Standard kernel density estimation for univariate data with various bandwidth selection rules.

Usage

unweighted_kde(x, n = 512, from = min(x), to = max(x), bw = "nrd0")

Value

List containing:

x

Vector of evaluation points

y

Vector of density estimates

bw

Selected bandwidth

Arguments

x

Numeric vector of samples

n

Integer number of evaluation points

from, to

Numeric range for evaluation points

bw

Bandwidth selection ("nrd0", "nrd", "ucv", "bcv", "sj" or numeric)