cclock: Combine clock vectors

Description Usage Arguments Details Note Author(s) Examples

Description

Combine clock vectors through concatenation

Usage

1
cclock(x, ...)

Arguments

x

Object of class clock; an integer vector

...

Other arguments coerced to clock objects

Details

If any argument has class clock, all arguments are coerced to clockss.

Function cclock() operates recursively, calling .cPair() repeatedly. Function .cPair() uses S4 method dispatch to call .clock.cpair().

Note

The structure is copied from the Brobdingnag package, where there is some discussion under cbrob.Rd.

Author(s)

Robin K. S. Hankin; original idea due to John Chambers and R-core

Examples

1
2
3
modulus(4)
a <- mod(3)
cclock(1:10,10:1,a,1:10)

RobinHankin/clock documentation built on Nov. 8, 2021, 6:17 p.m.