questionr (version 0.6.3)

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 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