NA_summary: Check missing data

Description Usage Arguments Value Examples

View source: R/utilities.R

Description

NA_summary summarizes missing data by Event, Subject, or Item.

Usage

1
2
NA_summary(data, Summary = "Event", PupilColumn = NULL,
  ReturnData = FALSE)

Arguments

data

A data table object output by create_time_series.

Summary

A character string indicating the type of summary.

PupilColumn

A character string indicating which column to use for the summary.

ReturnData

A logical indicating whether to return a data table containing the summary information.

Value

Summary information.

Examples

1
2
3
4
5
6
7
# Load example data
data("Pupilex3")

NA_summary(Pupilex3, Summary = "Event", PupilColumn = "Pupil")

# Please see the vignettes for detailed example usage.
# vignette("PupilPre_Basic_Preprocessing", package="PupilPre")

PupilPre documentation built on March 14, 2020, 1:08 a.m.