Learn R Programming

papaja (version 0.1.0.9492)

round_cells: Round table cells

Description

Round all numeric cells of a table using printnum. This function is not exported.

Usage

round_cells(x, digits = getOption("digits"),
  na_string = getOption("papaja.na_string"))

Arguments

x

data.frame or matrix.

digits

Numeric. Vector of the number of digits to round numeric columns to.

na_string

Character. String to print if element of x is NA.

See Also

printnum

Examples

Run this code
# NOT RUN {
NULL
# }

Run the code above in your browser using DataLab