commonNames: Common Names in two Objects with Names Attribute

View source: R/commonNames.R

commonNamesR Documentation

Common Names in two Objects with Names Attribute

Description

Common Names in two Objects with Names Attribute

Usage

commonNames(x, y)

Arguments

x

object with names attribute, e.g. data.frame, named vector

y

object with names attribute, e.g. data.frame, named vector

Value

vector of names occurring in both x and y

Examples

x <- data.frame(a = 1:2, b = 2:3)
y <- c(a = 1, c = 2)

KWB-R/kwb.utils documentation built on April 1, 2024, 7:12 a.m.