Rename variables, from the $fac
. See examples and dplyr::rename.
See also
Other handling functions:
arrange()
,
at_least()
,
chop()
,
combine()
,
dissolve()
,
fac_dispatcher()
,
filter()
,
mutate()
,
rescale()
,
rm_harm()
,
rm_missing()
,
rm_uncomplete()
,
rw_fac()
,
sample_frac()
,
sample_n()
,
select()
,
slice()
,
subsetize()
Examples
olea
#> Opn (curves)
#> - 210 curves, 99 +/- 3 coords (in $coo)
#> - 4 classifiers (in $fac):
#> # A tibble: 210 × 4
#> var domes view ind
#> <fct> <fct> <fct> <fct>
#> 1 Aglan cult VD O10
#> 2 Aglan cult VL O10
#> 3 Aglan cult VD O11
#> 4 Aglan cult VL O11
#> 5 Aglan cult VD O12
#> 6 Aglan cult VL O12
#> # ℹ 204 more rows
#> - also: $ldk
rename(olea, variety=var, domesticated=domes) # rename var column
#> Opn (curves)
#> - 210 curves, 98 +/- 4 coords (in $coo)
#> - 4 classifiers (in $fac):
#> # A tibble: 210 × 4
#> variety domesticated view ind
#> <fct> <fct> <fct> <fct>
#> 1 Aglan cult VD O10
#> 2 Aglan cult VL O10
#> 3 Aglan cult VD O11
#> 4 Aglan cult VL O11
#> 5 Aglan cult VD O12
#> 6 Aglan cult VL O12
#> # ℹ 204 more rows
#> - also: $ldk