Constructor For numericSequence Class

DESCRIPTION:

Constructor function for numericSequence objects.

USAGE:

numericSequence() 
numericSequence(from, to, by, length.) 

REQUIRED ARGUMENTS:

At least three of the four arguments must be supplied, unless the function is called with no arguments.

OPTIONAL ARGUMENTS:

from
start of the sequence.
to
end of the sequence.
by
increment for the sequence.
length.
length of the sequence, a non-negative integer.

VALUE:

a numericSequence object with properties given by the arguments, or the default numericSequence if no arguments are supplied.

SEE ALSO:

class.

EXAMPLES:

numericSequence() 
# The following all produce a sequence running from 1 to 10: 
numericSequence(1, 10, 1) 
numericSequence(1, by = 1, length = 10) 
numericSequence(1, 10, length = 10) 
numericSequence(to = 10, by = 1, length = 10)