View source: R/reduce_basis_filter.R
make_reduced_basis_map | R Documentation |
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.
make_reduced_basis_map(x_basis, reduce_basis_crit)
x_basis |
A matrix of basis functions with all redundant basis functions already removed. |
reduce_basis_crit |
A scalar |
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).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.