Description Usage Arguments Examples
This function reshapes form data downloaded from ChangePond
1 |
form |
Data frame of messy data downloaded from ChangePond |
NitemsInPanel |
vector indicating the number of items in each panel, in the order that panels appear |
NitemsInModule |
vector indicating the number of items in each module, in the order that modules appear in a panel |
outName |
output file name to be saved as .csv in working directory |
1 2 3 4 5 6 7 8 | ##7 values for 7 panels. Each value represents the number of items in each panel.
ItemsInPanelsEPTS = c(3,3,4,5,5,5,10)
##18 values for 18 modules. Each value represents the number of items in each module.
ItemsInModulesEPTS = c(3,3,2,2,1,2,2,1,2,2,1,2,2,2,2,2,2,2)
##EPTform is the data frame that is downloaded from CP and read in as a data frame.
reshapeCP(EPTform, ItemsInPanelsEPTS, ItemsInModulesEPTS, outName = EPTform_clean)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.