checkBaselineFormat: Checks the format of the data set for the baseline dates

View source: R/helperFunctions.R

checkBaselineFormatR Documentation

Checks the format of the data set for the baseline dates

Description

We need an ID and a date column. the date column has to be of class Date.

Usage

checkBaselineFormat(df, idColumn = "PATIENT", dateColumn = "VISIT")

Arguments

df

the data frame to check

idColumn

name of ID column: default is PATIENT

dateColumn

name of date column: default is VISIT. This column has to be of class Date

Value

NULL if there are format problems, otherwise a data frame that has a PATIENT andVISIT column


smm52/timeBlocks documentation built on Nov. 27, 2022, 3:54 a.m.