getPaymentNoPaymentMatrix {BALD} | R Documentation |
A function to turn a matrix of incremental payments into zero or ones depending upon whether a payment is positive. Intended for internal use only.
getPaymentNoPaymentMatrix(object)
object |
The matrix of incremental payments. |
The conversion rule is as follows. If NA
, then NA
. Else if greater than zero, then 1. Else if equal to zero, then zero. Else NA
.
A matrix of zero or one (or NA
) matching the structure of in input matrix.