Description Usage Arguments Value
View source: R/missing_values.R
Count and plot extreme observation by regions and measures of interest
1 2 3 | report_extremes_count(dat, by = subj, rois, mois, value.col = value,
region.col = reg.name, measure.col = fixationtype, max.cutoff,
min.cutoff = 0, plot.name = "Give a sensible name to the plot!")
|
dat |
data.frame containing information about |
by |
quosure indicating which column we are aggregating along. Usually it is the subject or the item column. |
rois, mois |
vectors of identifiers for regions and measures, in which
cells have to be counted. 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 |
max.cutoff |
numeric value, indicating the upper threshold; any values above this threshold will be considered "extreme" and counted |
min.cutoff |
numeric value, indicating the lower threshold. Defaults to 0 |
plot.name |
Name of the heatmap plot with extreme values counts |
list with 3 components:
counts
- data.frame with counts data
count.plots
- list with 3 components
high.plot
- plot with counts of extreme observations above max.cutoff
low.plot
- plot with counts of extreme observations below min.cutoff
all.plot
- plot with combined counts of both high and low extreme values
values.plots
- list with 2 components
high.plot
- plot with numerical values of extreme observations above max.cutoff
low.plot
- plot with numerical values of extreme observations below min.cutoff
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.