mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2026-06-21 05:19:07 +02:00
Deploying to gh-pages from @ agdamsbo/FreesearchR@54dd332cd8 🚀
This commit is contained in:
parent
4cf4bd0499
commit
6d545337de
328 changed files with 12930 additions and 1662 deletions
34
reference/if_not_missing.md
Normal file
34
reference/if_not_missing.md
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# Return if available
|
||||
|
||||
Return if available
|
||||
|
||||
## Usage
|
||||
|
||||
``` r
|
||||
if_not_missing(data, default = NULL)
|
||||
```
|
||||
|
||||
## Arguments
|
||||
|
||||
- data:
|
||||
|
||||
vector
|
||||
|
||||
- default:
|
||||
|
||||
assigned value for missings
|
||||
|
||||
## Value
|
||||
|
||||
vector
|
||||
|
||||
## Examples
|
||||
|
||||
``` r
|
||||
NULL |> if_not_missing("new")
|
||||
#> [1] "new"
|
||||
c(2, "a", NA) |> if_not_missing()
|
||||
#> [1] "2" "a"
|
||||
"See" |> if_not_missing()
|
||||
#> [1] "See"
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue