View source: R/GridProcessing.R
grid_cell_counts | R Documentation |
Creates grids with aggregate cell counts (summed across items or respondents) out of LimeSurvey formatted grid item data.
grid_cell_counts( x, gridinfo, type = "items", reverse_code = NULL, return_table = FALSE, chosen_items = NULL )
x |
data frame of grid-only LimeSurvey formatted data. |
gridinfo |
list. The output of |
type |
character. Indicates whether to create cell counts for |
reverse_code |
integer or logical. Values of 0 ( |
return_table |
logical. If |
chosen_items |
integer vector indicating which grid items to include. |
A list of matrices, each of which is either the sum of all responses to a certain item (the default) or the sum of a certain respondent's answers for all items.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.