Learn R Programming

cocoreg (version 0.1.1)

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

Description

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

Usage

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)