Learn R Programming

REDCapCAST (version 24.12.1)

possibly_roman: Test if vector can be interpreted as roman numerals

Description

Test if vector can be interpreted as roman numerals

Usage

possibly_roman(data)

Value

logical

Arguments

data

character vector

Examples

Run this code
sample(1:100, 10) |>
  as.roman() |>
  possibly_roman()
sample(c(TRUE, FALSE), 10, TRUE) |> possibly_roman()
rep(NA, 10) |> possibly_roman()

Run the code above in your browser using DataLab