report_extremes_count: Count and plot extreme observation by regions and measures of...

Description Usage Arguments Value

View source: R/missing_values.R

Description

Count and plot extreme observation by regions and measures of interest

Usage

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!")

Arguments

dat

data.frame containing information about by column

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 region.col and measure.col respectively. Any of these can be left unsepcified, in this case, all regions and/or measure form the data will be used.

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

Value

list with 3 components:


antonmalko/ettools documentation built on May 28, 2019, 3:35 p.m.