Learn R Programming

rtables (version 0.4.0)

format_rcell: Convert the contets of an rcell to a string using the format information

Description

Convert the contets of an rcell to a string using the format information

Usage

format_rcell(x, format, output = c("ascii", "html"))

Arguments

x

an object of class rcell

format

if FUN does not return a formatted rcell then the format is applied

output

output type

Value

formatted text representing the cell x.

Examples

Run this code
# NOT RUN {
x <- rcell(pi, format = "xx.xx")
x

format_rcell(x, output = "ascii")

# }

Run the code above in your browser using DataLab