Description Usage Arguments Value
View source: R/missing_values.R
This function ensures that every combination of region and measure contains counts. Basically, it takes care fo the situation when a given region-measure doesn't contain cells of the required kind (e.g. NAs or extreme observations). In such cases this function adds 0 as count to make sure that all region-measure combination are present in the summary plot.
1 | zero_inflate_cells_count(dat, by, cells.count, rois, mois)
|
dat |
data.frame containing information about |
by |
quosure indicating which column we are aggregating along. Usually it is the subject or the item column. |
cells.count |
data.frame with cells count data produced by |
rois, mois |
vectors of identifiers for regions and measures, in which cells have to be counted |
data.frame containing the original cells counts as well as added 0 counts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.