fmtr1.7.0 package

Easily Apply Formats to Data

as.data.frame.fcat

Convert a format catalog to a data frame

as.data.frame.fmt_lst

Convert a formatting list to a data frame

as.data.frame.fmt

Casts a format to a data frame

as.fcat.data.frame

Convert a data frame to a format catalog

as.fcat.fmt_lst

Convert a formatting list to a format catalog

as.fcat.list

Convert a list to a format catalog

as.fcat

Generic casting method for format catalogs

as.fcat.tbl_df

Convert a tibble to a format catalog

as.flist.data.frame

Convert a data frame to a formatting list

as.flist.fcat

Convert a format catalog to a formatting list

as.flist.list

Convert a list to a formatting list

as.flist

Convert to a formatting list

as.flist.tbl_df

Convert a tibble to a formatting list

as.fmt.data.frame

Convert a data frame to a user-defined format

as.fmt

Generic casting method for formats

condition

Define a condition for a user-defined format

descriptions

Get or set descriptions for data frame columns

fapply

Apply formatting to a vector

fapply2

Apply formatting to two vectors

fattr-set

Set formatting attributes

fattr

Set formatting attributes

fcat

Create a format catalog

fdata

Format a data frame or tibble

flist

Create a formatting list

fmt_cnt_pct

Formatted count and percent

fmt_mean_sd

Formatted mean and standard deviation

fmt_mean_stderr

Formatted mean and standard error

fmt_median

Formatted Median

fmt_n

Formatted Count

fmt_quantile_range

Formatted Quantile Range

fmt_range

Formatted Range

fmtr

A package for formatting data

formats

Get or set formats for a data frame

FormattingStrings

Formatting Strings

is.fcat

Class test for a format catalog

is.flist

Is object a formatting list

is.format

Determine whether an object is a user-defined format

justification

Get or set justification for data frame columns

labels.fmt

Extract labels from a user-defined format

print.fcat

Print a format catalog

print.fmt_lst

Print a formatting list

print.fmt

Print a format

read.fcat

Read a format catalog from the file system

read.flist

Read a formatting list from the file system

value

Create a user-defined format

widths

Get or set column widths for a data frame

write.fcat

Write a format catalog to the file system

write.flist

Write a formatting list to the file system

Contains a set of functions that can be used to apply formats to data frames or vectors. The package aims to provide functionality similar to that of SAS® formats. Formats are assigned to the format attribute on data frame columns. Then when the fdata() function is called, a new data frame is created with the column data formatted as specified. The package also contains a value() function to create a user-defined format, similar to a SAS® user-defined format.

  • Maintainer: David Bosak
  • License: CC0
  • Last published: 2025-11-26