Learn R Programming

fdth (version 1.1-3)

make.fdt.format.classes: This function formats the presentation's appearance of the interval classes

Description

This function uses part of the fdt results which contains the interval classes description and format it according to a pattern wich is a regular expression, the same as used by sprintf. It is mainly for internal use of the fdth package.

Usage

make.fdt.format.classes(x, right, pattern)

Arguments

x
A fdt object.
right
Intervals right open (default = FALSE).
pattern
Same as fmt in sprintf.

Value

  • The function make.fdt.format.classes returns a data.frame which contains the formatted interval class values.

Details

This function uses the object[["table"]] of the fdt results (object) which contains the interval classes description and format it according to a pattern wich is a regular expression, the same as used by sprintf. It is called by the generic function summary and is mainly for internal use of the fdth package.

See Also

sprintf and gsub provided by base package.