Learn R Programming

rtables (version 0.4.0)

as.vector,TableRow-method: convert to a vector

Description

convert to a vector

Usage

# S4 method for TableRow
as.vector(x, mode = "any")

# S4 method for ElementaryTable as.vector(x, mode = "any")

# S4 method for VTableTree as.vector(x, mode = "any")

Arguments

x

ANY. The object to be converted to a vector

mode

character(1). Passed on to as.vector

Value

a vector of the chosen mode (or an error is raised if more than one row was present).