iso8601_two_digits {sdtm.oak}R Documentation

Format as a ISO8601 two-digit number

Description

iso8601_two_digits() converts a single digit or two digit number into a two digit, 0-padded, number. Failing to parse the input as a two digit number results in NA.

Usage

iso8601_two_digits(x)

Arguments

x

A character vector.

Value

A character vector of the same size as x.


[Package sdtm.oak version 0.1.0 Index]