ViewerDataVector-class: Class "ViewerDataVector"

Description Objects from the Class Slots Extends Methods Author(s) See Also Examples

Description

An object representing the (atomic) data to view.

Objects from the Class

Objects can be created using the viewerData function.

Slots

x:

Object of class "vector" giving the data to view.

name:

Object of class "character" giving a label for the data.

width:

Object of class "numeric" giving the number of characters in a text version of the data.

Extends

The virtual class "ViewerData", directly.

Methods

colNames

signature(data = "ViewerDataVector", cols = "numeric"): provide the names of the specified columns (just the data name).

colWidths

signature(data = "ViewerDataVector"): provide the number of characters in each of the specified columns (just the width of the data).

dimensions

signature(data = "ViewerDataVector"): provide the number of rows and columns in the data (just the rows).

getText

signature(data = "ViewerDataVector", rows = "numeric", cols = "numeric"): provide a text version of a subset of the data as specified by the rows and columns.

Author(s)

Paul Murrell

See Also

Viewer

Examples

1
showClass("ViewerDataVector")

pmur002/rdataviewer documentation built on May 25, 2019, 10:21 a.m.