Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

rtables (version 0.5.1)

rrowl: rrowl

Description

rrowl

Usage

rrowl(row.name, ..., format = NULL, indent = 0)

Value

A row object of the context-appropriate type (label or data)

Arguments

row.name

if NULL then the FUN argument is deparsed and used as row.name of the rrow

...

values in vector/list form

format

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

indent

deprecated.

See Also

Other compatability: rheader(), rrow(), rtable()

Examples

Run this code
rrowl("a", c(1,2,3), format = "xx")
rrowl("a", c(1,2,3), c(4,5,6), format = "xx")


rrowl("N", table(iris$Species))
rrowl("N", table(iris$Species), format = "xx")

x <- tapply(iris$Sepal.Length, iris$Species, mean, simplify = FALSE)

rrow(row.name = "row 1", x)
rrow("ABC", 2, 3)

rrowl(row.name = "row 1", c(1, 2), c(3,4))
rrow(row.name = "row 2", c(1, 2), c(3,4))

Run the code above in your browser using DataLab