rename_idx: Rename tables with sequentially numbered variables

Description Usage Arguments

View source: R/rename.R

Description

Rename tables with sequentially numbered variables

Usage

1
rename_idx(.data, .f = "Var%d", ...)

Arguments

.data

A data frame

.f

Either a string or function. If a string, then it is a sprintf in which the 1st pattern will be replaced with the variable index number. If a function, then it is a function that takes the index number as its first argument.

...

Additional arguments to pass to .f


jrnold/rubbish documentation built on May 20, 2019, 2:05 a.m.