Skip to contents

This function converts a data frame back to a list. It is the reverse operation to list_to_df().

Usage

df_to_list(df_for_list)

Arguments

df_for_list

The data frame to be converted to a list

Details

In a data frame with more than two columns, heuristics are applied to detect the name and value column.