mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2024-11-25 06:21:53 +01:00
29 lines
715 B
R
29 lines
715 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/utils.r
|
|
\name{is_repeated_longitudinal}
|
|
\alias{is_repeated_longitudinal}
|
|
\title{Test if repeatable or longitudinal}
|
|
\usage{
|
|
is_repeated_longitudinal(
|
|
data,
|
|
generics = c("redcap_event_name", "redcap_repeat_instrument", "redcap_repeat_instance")
|
|
)
|
|
}
|
|
\arguments{
|
|
\item{data}{data set}
|
|
|
|
\item{generics}{default is "redcap_event_name", "redcap_repeat_instrument"
|
|
and "redcap_repeat_instance"}
|
|
}
|
|
\value{
|
|
logical
|
|
}
|
|
\description{
|
|
Test if repeatable or longitudinal
|
|
}
|
|
\examples{
|
|
is_repeated_longitudinal(c("record_id", "age", "record_id", "gender"))
|
|
is_repeated_longitudinal(redcapcast_data)
|
|
is_repeated_longitudinal(list(redcapcast_data))
|
|
}
|