series Objects
series objects.
seriesValid(object, postype="positions")
"positionsCalendar").
This function checks to see that object is a valid
series
object. It checks that the
positions slot has an
is relationship
to
postype, and that the length of the
positions and
data
slots agree. It also checks that the
data slot holds a
rectangular object, using
is.rectangular.
obj <- new("signalSeries")
seriesValid(obj, "positionsNumeric")