View source: R/probability-helpers.R
replace_na_padding | R Documentation |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.