Learn R Programming

rtables (version 0.6.12)

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

(string)
passed on to as.vector().