report_NAs_count: Count and plot NAs by regions and measures of interest

Description Usage Arguments Details Value

View source: R/missing_values.R

Description

Count and plot NAs by regions and measures of interest

Usage

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

Arguments

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 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

plot.name

character. name for the plot visualizing the counts

Details

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.

Value

list with the following components:


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