ViewerDataVector-class {rdataviewer}R Documentation

Class "ViewerDataVector"

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

showClass("ViewerDataVector")

[Package rdataviewer version 0.1 Index]