densi: Estimation of Density

Description Usage Arguments Author(s) Examples

View source: R/densi.R

Description

This function estimates density using the naive estimator or gaussian kernel.

Usage

1
densi(x,d=NULL,h=NULL, method="naive")

Arguments

x

numeric value

d

a point that is evaluatet to obtain its density

h

bin width

method

the method for density estimation. It can be "naive" or "kernel".

Author(s)

Katrine Eriksen and Katrine Bach
Department of mathematics and computer science (IMADA)
University of Southern Denmark
kater13@student.sdu.dk and kabac13@student.sdu.dk

Examples

1
densi(faithful$eruptions)

Katrinebch/ExamST516 documentation built on May 7, 2019, 12:29 p.m.