getPaymentNoPaymentMatrix {BALD}R Documentation

A function to turn a matrix of incremental payments into zero or ones depending upon whether a payment is positive.

Description

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.

Usage

getPaymentNoPaymentMatrix(object)

Arguments

object

The matrix of incremental payments.

Details

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.

Value

A matrix of zero or one (or NA) matching the structure of in input matrix.


[Package BALD version 1.0.0-3 Index]