mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2025-12-16 17:42:10 +01:00
27 lines
243 B
Markdown
27 lines
243 B
Markdown
|
|
# Get missingsness fraction
|
||
|
|
|
||
|
|
Get missingsness fraction
|
||
|
|
|
||
|
|
## Usage
|
||
|
|
|
||
|
|
``` r
|
||
|
|
missing_fraction(data)
|
||
|
|
```
|
||
|
|
|
||
|
|
## Arguments
|
||
|
|
|
||
|
|
- data:
|
||
|
|
|
||
|
|
data
|
||
|
|
|
||
|
|
## Value
|
||
|
|
|
||
|
|
numeric vector
|
||
|
|
|
||
|
|
## Examples
|
||
|
|
|
||
|
|
``` r
|
||
|
|
c(NA, 1:10, rep(NA, 3)) |> missing_fraction()
|
||
|
|
#> [1] 0.2857143
|
||
|
|
```
|