rep {salad} | R Documentation |
A method extending 'rep' to dual objects
## S3 method for class 'dual'
rep(x, ...)
x |
a dual vector |
... |
extra parameters (typically, 'times', 'length.out' or 'each') |
A dual object.
x <- rep( dual(1:2), each = 4 )
x
d(x)