ScalarCharacter-class {Biobase} | R Documentation

## A length one (scalar) character class

### Description

`ScalarCharacter` extends `character` and provides a validity method that requires the vector to be of length one. This class is intended to ease the validation burden on classes that require strings as slots.

### Objects from the Class

Objects can be created by calls of the form `new("ScalarCharacter", ...)`.

### Slots

`.Data`:
  Object of class `"character"` which must have length one for the object to be valid.

### Extends

Class `"character"`, from data part. Class `"vector"`, by class "character", distance 2.

### Methods

No methods defined with class "ScalarCharacter" in the signature.

### Author(s)

Seth Falcon

### Examples

    str <- new("ScalarCharacter")
    str
    str <- new("ScalarCharacter", "foo")
    str

[Package Biobase version 1.14.1 Index]