Learn R Programming

specleanr (version 1.0.0)

getdiff: get dataframe from the large dataframe.

Description

get dataframe from the large dataframe.

Usage

getdiff(x, y, full = FALSE)

Value

Data to extracted from large dataset.

Arguments

x

Small dataset

y

Large dataset for intersection

full

Whether the whole column names are checked or not. Default FALSE where only the first column is considered. if FALSE; then the returned columns may be few or more if the considered column has less or more similar rows across the two data sets.

Examples

Run this code

x = data.frame(id=c(1,2,3,4,5),  name=c('a','b','c', 'd','e'))

y=data.frame(id=c(1,2,3,4,7,6,5), tens=c(10,29,37,46,58, 34, 44),
                 name=c('a','b','c','d','e', 'f','g'))

Run the code above in your browser using DataLab