apollo_longToWide {apollo} | R Documentation |
Converts data from long to wide format.
Description
Converts choice data from long to wide format, with one row per observation as opposed to one row per alternative/observation.
Usage
apollo_longToWide(longData, longToWide_settings)
Arguments
longData |
data.frame. Data in long format. |
longToWide_settings |
List. Contains settings for this function. User input is required for all settings.
|
Value
Silently returns a data.frame with the wide format version of the data. An overview of the data is printed to screen.