Return 1 for elements of x that are finite values and zero otherwise. For example, finite ([13, Inf, NA, NaN]) [ 1, 0, 0, 0 ]
Return 1 for elements of x that are finite values and zero otherwise. For example,
finite ([13, Inf, NA, NaN]) [ 1, 0, 0, 0 ]