filter_coordinate computes the Coordinate projection filter.

filter_coordinate(dat, k, ...)

Arguments

dat

A numeric dataset matrix, rach row represents a data point and each column represents a predictive variable.

k

A scalar or vector deciding to which coordinate(s) the data matrix is projected.

...

Further arguments.

Value

A matrix object of filter values.

Details

Coordinate projection filter is defined as \(f(x_i;k) = x_{ik}\).

Examples

tp_data = chicken_generator(1)
filter_coordinate(tp_data[,-1],1)