list_to_tib: Make a tibble from a list - with names as a new column

View source: R/gen_list-to-tib.R

list_to_tibR Documentation

Make a tibble from a list - with names as a new column

Description

This function just calls rbind on a whole list but will first make a new column in the dataframe, corresponding to the names of the list

Usage

list_to_tib(list, new_col_name = "group")

Arguments

list

the input list - should have all elements be a df

new_col_name

the column name to correspond to list names

Author(s)

Alex Barth


TheAlexBarth/EcotaxaTools documentation built on Nov. 14, 2024, 8:27 p.m.