listnames_to_column: Add ID column (list element names)

Description Usage Arguments

Description

In a list of dataframes, add an ID column with the list name. Neat, if you want a dataframe instead of list object.

Usage

1
listnames_to_column(ls, colname = "sample")

Arguments

ls

A named list of dataframes

colname

The name of the column to add IDs to


lmuenter/coulteR documentation built on Aug. 6, 2021, 8:43 p.m.