find.same.value.col: Find Columns Consisting of the Same Value in a Data Frame

View source: R/find_same_value_col.R

find.same.value.colR Documentation

Find Columns Consisting of the Same Value in a Data Frame

Description

This function is used to find a column consisting of the same value in a data frame. The answer will be returned in a list format, and those that have the same value in the column number or column name will be output. unique_col is a function to remove duplicate columns in a data frame, the column version of base's unique.

Usage

find.same.value.col(data, col.name = c("number", "name"))

unique_col(data, fromLast = FALSE)

Arguments

data

Data frame to check if there is a column consisting of the same value.

col.name

Select whether the columns are represented by column names or by column numbers. The default value is the column number.

fromLast

logical indicating if duplication should be considered from the reverse side.

Value

a list.


indenkun/infun documentation built on April 17, 2025, 2:52 p.m.