make_reduced_basis_map {hal9001} | R Documentation |
Mass-based reduction of basis functions
Description
A helper function that finds which basis functions to keep (and equivalently which to discard) based on the proportion of 1's (observations, i.e., "mass") included in a given basis function.
Usage
make_reduced_basis_map(x_basis, reduce_basis_crit)
Arguments
x_basis |
A matrix of basis functions with all redundant basis functions already removed. |
reduce_basis_crit |
A scalar |
Value
A binary numeric
vector indicating which columns of the
matrix of basis functions to keep (given a one) and which to discard (given
a zero).