estimate_density: Function to estimate survey weighted density

Description Usage Arguments Value

View source: R/survey_roc.R

Description

Computes the bandwidth and estimate Gaussian kernel density estimation for a vector of desired points

Usage

1
estimate_density(x, y, weight = NULL)

Arguments

x

vector of points of interest for density estimation

y

numeric vector of observations from the distribution whose density is to be estimated

weight

numeric vector of sampling weights

Value

a dataframe containing


tamytsujimoto/surveyROC documentation built on Sept. 8, 2021, 11:35 p.m.