R/subject_id.R

Defines functions subject_id

Documented in subject_id

#' Title
#'
#' @param x A character string of the subject you want to create the storboard for
#'
#' @return
#' @export
#'
subject_id <- function(x) {
  subject_id <- x

  timeline <- storyboard %>%
    filter(record_id == subject_id)

  return(timeline)
}
TheMillerLab/StoryboardR documentation built on Jan. 12, 2023, 11:24 a.m.