knitrContainer: Create, test and convert to 'knitrContainer' object

View source: R/knitrContainer-function.R

as.knitrContainerR Documentation

Create, test and convert to 'knitrContainer' object

Description

knitrContainer() - creates a new empty knitrContainer object.

is.knitrContainer() - tests if class of an object is object knitrContainer().

as.knitrContainer() - converts an object to knitrContainer. More specifically:
for list - only the class attribute is added,
for other objects - firstly an object is inctluded into list by list(object) and then class attribute is added;
for knitrContainer objects - they are returned as-is.

Usage

as.knitrContainer(obj = NULL)

is.knitrContainer(obj)

knitrContainer()

Arguments

obj

object to be tested or converted to knitrContainer object.

Author(s)

Vilmantas Gegzna

See Also

Other knitrContainer functions: Join(), add_as_heading(), add_as_, knitrContainer-class, print_all(), print(), summary()

Examples


# Find examples in link `knitrContainer-class`


GegznaV/knitrContainer documentation built on April 16, 2023, 1:38 p.m.