Mimics dplyr::rename using base R and rlang

b_rename(.data, ...)

Arguments

.data

data.frame

...

variables to rename

Value

data.frame

See also

Examples

airquality%>% b_rename(tmp = Temp,day = Day)%>% head()
#> Ozone Solar.R Wind tmp Month day #> 1 41 190 7.4 67 5 1 #> 2 36 118 8.0 72 5 2 #> 3 12 149 12.6 74 5 3 #> 4 18 313 11.5 62 5 4 #> 5 NA NA 14.3 56 5 5 #> 6 28 NA 14.9 66 5 6