compute_density: Approximate density based on another vector

View source: R/compute_density.R

compute_densityR Documentation

Approximate density based on another vector

Description

A function to impute missing values based on density estimation of another vector or itself after removing the missing values.

Usage

compute_density(x0, x1)

Arguments

x0

vector

x1

vector

Value

Returns approximation of density value of vector x1 based on vector x0.


CausalGPS documentation built on Sept. 30, 2023, 1:06 a.m.