Learn R Programming

SciencesPo (version 1.3.6)

var.order: Move variable order in a data.frame

Description

Move variable order in a data.frame

Usage

var.order(data, var, where)

Arguments

data
The data object
var
The variable to be moved.
where
The new location for the variable (var).

encoding

UTF-8

Examples

Run this code
var.order(ssex, "DK", "Oppose")

Run the code above in your browser using DataLab