thin.Rd
The thin function extracts the rows of a matrix evenly so that roughly n number of rows remain. Used for thinning down the weight matrix to speed up overall computation.
thin(W, n = 100)
matrix
rough number of rows to keep
matrix
of thinned matrix keeping only roughly n rows.
W = trajectoryWeightMatrix(500)
#> type not specified, defaulting to triangular
#> span not specified, defaulting to 0.25
W_small = thin(W, n = 100)