ScalarCharacter-class {Biobase} | R Documentation |
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 can be created by calls of the form
new("ScalarCharacter", ...)
.
.Data
:"character"
which must
have length one for the object to be valid.
Class "character"
, from data part.
Class "vector"
, by class "character", distance 2.
No methods defined with class "ScalarCharacter" in the signature.
Seth Falcon
str <- new("ScalarCharacter") str str <- new("ScalarCharacter", "foo") str