Description Usage Arguments Details Value
View source: R/missing_values.R
Count and plot NAs by regions and measures of interest
1 2 3 | report_NAs_count(dat, by = subj, rois, mois, value.col = value,
region.col = reg.name, measure.col = fixationtype,
plot.name = "Give a sensible name to the plot!")
|
dat |
data.frame containing the data where the NAs should be counted |
by |
unquoted column name for the main grouping variable. See "Details" |
rois, mois |
vectors of region and measures identifiers, for which counts
should be produced. The type of entries in the vector should be the same as in
|
value.col |
unquoted name of the column containing NAs which should be counted (typically it would be the column containing reaction times or something similar) |
region.col |
unquoted name of the column containing region ids |
measure.col |
unquoted name of the column containing measure ids |
plot.name |
character. name for the plot visualizing the counts |
The by
argument would typically contain subject or item column name.
this is the main grouping variable, which varies slowest and will be
displayed on the y axis in the summary plots.
list with the following components:
counts data.frame containing count data
cells.plot heatmap visualization of the counts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.