fix_duplicate_cols {fixr}R Documentation

Remove duplicate columns from a data frame

Description

This function removes duplicate columns from a data frame.

Usage

fix_duplicate_cols(df)

Arguments

df

A data frame

Value

A data frame with duplicate columns removed

Examples

df <- data.frame(a = c(1, 1, 2), b = c(2, 2, 3))
fix_duplicate_cols(df)



[Package fixr version 0.1.0 Index]