validate_data: Validate Data

View source: R/utility.R

validate_dataR Documentation

Validate Data

Description

The function checks if the dataset is valid by performing different checks on it.

Usage

validate_data(data, idv, dv, iv)

Arguments

data

the data of a specific participant, arranged according to the independent variable ('iv')

idv

the name of the participant identifier column.

dv

the names of the dependent variable(s) to apply the summary function (summary_function) to. For multiple dependent variables use a string list with the names of each dependent variable (e.g., c('dv1','dv2')),

iv

labels of an independent variable, indicating the different levels under which the dependent variable (dv) is expected to differ.


mufcItay/weaknull documentation built on Jan. 29, 2025, 7:28 p.m.