Learn R Programming

rtables (version 0.6.6)

asvec: convert to a vector

Description

Convert an rtables framework object into a vector, if possible. This is unlikely to be useful in realistic scenarios.

Usage

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

Value

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

Arguments

x

ANY. The object to be converted to a vector

mode

character(1). Passed on to as.vector