compare2: Print two columns of interest from the data frame in the...

View source: R/compare2.R

compare2R Documentation

Print two columns of interest from the data frame in the console

Description

compare2() is a function that prints two columns of interest from a data frame side by side, for a quick visual row-wise comparison.

Usage

compare2(data, column1, column2)

Arguments

data

The data frame in question.

column1

The first column to compare.

column2

The second column to compare.

Value

The two selected columns printed in the console.

Examples

compare2(mtcars, 'cyl', 'mpg')


rcollectadhd documentation built on Nov. 1, 2024, 5:07 p.m.