Generate a vector representing indices of set, using the handSetBaserate to determine the minimum number of indices that are positive

getHandSetIndices(set, handSetLength = 20, handSetBaserate = 0.2)

Arguments

set

matrix of two columns

handSetLength

number of indices to find

handSetBaserate

number between 0 and 1 to use as a minimum number of positive indices

Value

vector of indices from set