Format your data for use with panelr.
panel_data(data, id = id, wave = wave, ...) as_pdata.frame(data) as_panel_data(data, ...) # S3 method for default as_panel_data(data, id = id, wave = wave, ...) # S3 method for pdata.frame as_panel_data(data, ...) as_panel(data, ...)
data | A data frame. |
---|---|
id | The name of the column (unquoted) that identifies
participants/entities. A new column will be created called |
wave | The name of the column (unquoted) that identifies
waves or periods. A new column will be created called |
... | Attributes for adding onto this method. See
|
A panel_data
object.