roman package:utils R Documentation _R_o_m_a_n _N_u_m_e_r_a_l_s _D_e_s_c_r_i_p_t_i_o_n: Manipulate integers as roman numerals. _U_s_a_g_e: as.roman(x) _A_r_g_u_m_e_n_t_s: x: a numeric vector, or a character vector of arabic or roman numerals. _D_e_t_a_i_l_s: 'as.roman' creates objects of class '"roman"' which are internally represented as integers, and have suitable methods for printing, formatting, subsetting, and coercion to 'character'. Only numbers between 1 and 3899 have a unique representation as roman numbers. _R_e_f_e_r_e_n_c_e_s: Wikipedia contributors (2006). Roman numerals. Wikipedia, The Free Encyclopedia. . Accessed September 29, 2006. _E_x_a_m_p_l_e_s: ## First five roman 'numbers'. (y <- as.roman(1 : 5)) ## Middle one. y[3] ## Current year as a roman number. (y <- as.roman(format(Sys.Date(), "%Y"))) ## 10 years ago ... y - 10