visit: Find the visit number given age and donor data name

visit_numberR Documentation

Find the visit number given age and donor data name

Description

Find the visit number given age and donor data name

Find the visit age given the visit number and donor data name

Find the visit label given the visit number and donor data name

Usage

visit_number(age, dnr = "smocc")

visit_age(number, dnr = "smocc")

visit_label(number, dnr = "smocc")

Arguments

age

Numeric vector with decimal age

dnr

Name of donor dataset

number

Integer, visit numbers

Value

visit_number returns a vector of length length(age)

visit_age returns a vector of length length(number)

visit_label returns a vector of length length(number)

Examples

chartplotter:::visit_number(age = c(0.5, 1))
chartplotter:::visit_number(age = c(0.5, 1), "pops")
chartplotter:::visit_age(1:3)
chartplotter:::visit_age(1:3, "pops")
chartplotter:::visit_label(1:3)
chartplotter:::visit_label(1:3, "pops")

growthcharts/chartplotter documentation built on Nov. 29, 2024, 1:08 p.m.