gramian_reduction {RItools} | R Documentation |
Helper function to slm_fit_csr
Description
This function generates a matrix that can be used to reduce the dimensions of x'x and xy such that positive definiteness is ensured and more practically, that SparseM::chol will work
Usage
gramian_reduction(zeroes)
Arguments
zeroes |
logical vector indicating which entries of the diagonal of x'x are zeroes. |
Value
SparseM matrix that will reduce the dimension of x'x and xy
[Package RItools version 0.3-5 Index]