asvec: Convert to a vector

asvecR Documentation

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 signature 'VTableTree'
as.vector(x, mode = "any")

Arguments

x

(ANY)
the object to be converted to a vector.

mode

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

Value

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

Note

This only works for a table with a single row or a row object.


Roche/rtables documentation built on April 20, 2024, 9:16 p.m.