Combine a list of data.frames to a single molten data.frame

Share:

Description

Output maximally "molten" with columns "dataset", "obs", "variable", "value" Preserves list element names in column "dataset".

Usage

1
dflst2dfmelt(df_lst)

Arguments

df_lst

[1,m] list of data.frames, A list of data.frames to process

Value

A data.frame with elements of df_lst combined using reshape::melt().

Extra columns:

dataset

dataset name

obs

running observation index (time)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.