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
31
reference/argsstring2list.md
Normal file
31
reference/argsstring2list.md
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# Convert string of arguments to list of arguments
|
||||
|
||||
Idea from the answer: https://stackoverflow.com/a/62979238
|
||||
|
||||
## Usage
|
||||
|
||||
``` r
|
||||
argsstring2list(string)
|
||||
```
|
||||
|
||||
## Arguments
|
||||
|
||||
- string:
|
||||
|
||||
string to convert to list to use with do.call
|
||||
|
||||
## Value
|
||||
|
||||
list
|
||||
|
||||
## Examples
|
||||
|
||||
``` r
|
||||
argsstring2list("A=1:5,b=2:4")
|
||||
#> $A
|
||||
#> [1] 1 2 3 4 5
|
||||
#>
|
||||
#> $b
|
||||
#> [1] 2 3 4
|
||||
#>
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue