View source: R/find_same_value_col.R
find.same.value.col | R Documentation |
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
.
find.same.value.col(data, col.name = c("number", "name"))
unique_col(data, fromLast = FALSE)
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. |
a list.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.