We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
x <- c(0:2, NA) tidyr::replace_na(x, 3) ## [1] 0 1 2 3 tidyr::replace_na(matrix(x, 2), 3) ## [,1] [,2] ## [1,] 0 2 ## [2,] 1 NA
I have {tidyr} v1.2.1.