Learn R Programming

CausalGPS (version 0.5.1)

compute_density: 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)

Value

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

Arguments

x0

vector

x1

vector