Learn R Programming

questionr (version 0.2)

format.proptab: S3 format method for proptab objects.

Description

Format an object of class proptab for printing depending on its attributes.

Usage

## S3 method for class 'proptab':
format(x, digits = NULL,
    percent = NULL, justify = "right", ...)

Arguments

x
object of class proptab
digits
number of digits to display
percent
if not NULL, add a percent sign after each value
justify
justification of character vectors. Passed to format.default
...
other arguments to pass to format.default

Details

This function is designed for internal use only.

See Also

format.default, print.proptab