ksformat: 'SAS'-Style 'PROC FORMAT' for R

Provides 'SAS' 'PROC FORMAT'-like functionality for creating and applying value formats in R. Supports discrete and range-based mapping of values to labels, reverse formatting (invalue), date/time/datetime formatting with built-in 'SAS' format names, multi-label formats, expression labels evaluated at apply-time, case-insensitive matching, import/export of format definitions, and proper handling of missing values (NA, NULL, NaN).

Package details

AuthorVladimir Larchenko [aut, cre], Igor Aleschenkov [aut]
MaintainerVladimir Larchenko <vladimir.larchenko@keystatsolutions.com>
LicenseGPL-3
Version0.7.1
URL https://github.com/crow16384/ksformat
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("ksformat")

Try the ksformat package in your browser

Any scripts or data that you put into this service are public.

ksformat documentation built on May 21, 2026, 9:07 a.m.