`R/probability-helpers.R`

`replace_na_padding.Rd`

Replaces the NA values introduced when padding the data. We need to replace
the NAs since no na.remove option exists for the Rfast package. See
`prepare_data`

for details

`replace_na_padding(x)`

- x
A matrix or vector of chosen probabilities

A matrix or vector where NAs are replaced by 1