Learn R Programming

nonmemica (version 0.9.1)

shuffle: Move the Columns of a Data Frame Relative to Each Other

Description

Move the columns of a data.frame relative to each other.

Usage

shuffle(x, who, after = NA, ...)

Arguments

x

data.frame

who

a character vector of column names to move, or a logical vector of length names(x), or a vector of indices

after

column after which to put who: may be character, integer, NA, or NULL

...

ignored

Value

data.frame

See Also

Other superset: generalize, meta.character, meta.numeric, metaplot.character, metaplot.numeric, metaplot_character, metasuperset, meta, ninput.character, ninput.numeric, ninput, superset.character, superset.numeric, superset, superspec.character, superspec.numeric, superspec