get.recruitment.time: Returns the recruitment time for each subject

View source: R/rds.data.frame.R

get.recruitment.timeR Documentation

Returns the recruitment time for each subject

Description

Returns the recruitment time for each subject

Usage

get.recruitment.time(
  x,
  to.numeric = TRUE,
  wave.fallback = FALSE,
  check.type = TRUE
)

Arguments

x

the rds.data.frame

to.numeric

if true, time will be converted into a numeric variable.

wave.fallback

if true, subjects' recruitment times are ordered by wave and then by data.frame index if no recruitment time variable is available.

check.type

if true, x is required to be of type rds.data.frame


RDS documentation built on Sept. 11, 2024, 8:13 p.m.