qc: Quick check that an analysis dataset has one row per...

qcR Documentation

Quick check that an analysis dataset has one row per observation ID

Description

Quick check that an analysis dataset has one row per observation ID

Usage

qc(data, id = "subject")

Arguments

data

A data frame that is supposed to have one row per ID (subject).

id

String naming the ID column. Defaults to id = "subject".

Details

The function checks that the data frame has as many rows as unique values of the ID column, and that it has at least one row.


harrysouthworth/render documentation built on May 31, 2024, 11:18 a.m.