mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2026-06-19 04:27:30 +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
38
reference/sort_by.md
Normal file
38
reference/sort_by.md
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
# Drop-in replacement for the base::sort_by with option to remove NAs
|
||||
|
||||
Drop-in replacement for the base::sort_by with option to remove NAs
|
||||
|
||||
## Usage
|
||||
|
||||
``` r
|
||||
sort_by(x, y, na.rm = FALSE, ...)
|
||||
```
|
||||
|
||||
## Arguments
|
||||
|
||||
- x:
|
||||
|
||||
x
|
||||
|
||||
- y:
|
||||
|
||||
y
|
||||
|
||||
- na.rm:
|
||||
|
||||
remove NAs
|
||||
|
||||
- ...:
|
||||
|
||||
passed to base_sort_by
|
||||
|
||||
## Value
|
||||
|
||||
vector
|
||||
|
||||
## Examples
|
||||
|
||||
``` r
|
||||
sort_by(c("Multivariable", "Univariable"), c("Univariable", "Minimal", "Multivariable"))
|
||||
#> [1] "Univariable" NA "Multivariable"
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue