R/medsim-data.R

#' The simulated data set ispired by the medication example
#'
#' A simulated dataset
#' @format `medsim`
#' a data.frame with 5 columns and 420 rows:
#' \describe{
#' \item{obs}{row number}
#' \item{id}{participant number}
#' \item{time}{time in waves from 0 to 18, with increments of 3}
#' \item{treat}{treatment assignment, 1= treatment; 0= control}
#' \item{pos}{the positive mood score}}
#' @docType data
#'
#' @usage data(medsim)
#'
#' @keywords datasets
"medsim"

Try the confintROB package in your browser

Any scripts or data that you put into this service are public.

confintROB documentation built on June 21, 2025, 9:08 a.m.