kde2d_filter: 2 Dimensional K-means filter by densiy

Description Usage Arguments Author(s)

View source: R/kde2d_filter.R

Description

Filter values using a density grid on a two-dimensional kernel density gradient

Usage

1
kde2d_filter(x, y, q = 0.05, n = 200, logic = T)

Arguments

x

x coordinate of data

y

y coordinate of data

q

quantile filter. The data within that quantile will be gated

n

Number of grid points in each direction. Can be scalar or a length-2 integer vector.

logic

If true, the returned value is a logic vector with T or F. If false, the function returns the row of the values within the kernel. Default value is True

Author(s)

Santiago Caño-Muñiz


phisanti/MyFunctions documentation built on Sept. 22, 2021, 7:37 p.m.