Learn R Programming

RDS (version 0.9-10)

get.recruitment.time: 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