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
54
reference/get_var_icon.md
Normal file
54
reference/get_var_icon.md
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
# Easily get variable icon based on data type or class
|
||||
|
||||
Easily get variable icon based on data type or class
|
||||
|
||||
## Usage
|
||||
|
||||
``` r
|
||||
get_var_icon(data, class.type = c("class", "type"))
|
||||
```
|
||||
|
||||
## Arguments
|
||||
|
||||
- data:
|
||||
|
||||
variable or data frame
|
||||
|
||||
- class.type:
|
||||
|
||||
"type" or "class". Default is "class"
|
||||
|
||||
## Value
|
||||
|
||||
svg icon
|
||||
|
||||
## Examples
|
||||
|
||||
``` r
|
||||
mtcars[1] |> get_var_icon("class")
|
||||
#> $mpg
|
||||
#>
|
||||
default_parsing(mtcars) |> get_var_icon()
|
||||
#> $mpg
|
||||
#>
|
||||
#> $cyl
|
||||
#>
|
||||
#> $disp
|
||||
#>
|
||||
#> $hp
|
||||
#>
|
||||
#> $drat
|
||||
#>
|
||||
#> $wt
|
||||
#>
|
||||
#> $qsec
|
||||
#>
|
||||
#> $vs
|
||||
#>
|
||||
#> $am
|
||||
#>
|
||||
#> $gear
|
||||
#>
|
||||
#> $carb
|
||||
#>
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue