Learn R Programming

SciencesPo (version 1.02.12)

otherNames: Extracts names from a dataset other than the ones indicates

Description

Extracts names from a dataset other than the ones indicates

Usage

otherNames(data, check)

Arguments

data
the input data.frame.
check
The names you want to check.

Value

  • A character vector of the remaining names.

encoding

UTF-8

Examples

Run this code
bigdf <- data.frame(a = 1:2, b = 3:4, c = 5:6)
otherNames(bigdf, "b")

Run the code above in your browser using DataLab