bind {salad}R Documentation

Binding methods for dual objects

Description

Methods allowing to use 'cbind' and 'rbind' with dual objects.

Usage

## S4 method for signature 'dual,dual'
rbind2(x,y,...)

## S4 method for signature 'dual,numericOrArray'
rbind2(x,y,...)

## S4 method for signature 'numericOrArray,dual'
rbind2(x,y,...)

## S4 method for signature 'dual,missing'
rbind2(x,y,...)

## S4 method for signature 'dual,dual'
cbind2(x,y,...)

## S4 method for signature 'dual,numericOrArray'
cbind2(x,y,...)

## S4 method for signature 'numericOrArray,dual'
cbind2(x,y,...)

## S4 method for signature 'dual,missing'
cbind2(x,y,...)

Arguments

x, y

dual or numeric objects

...

extra parameters (ignored)

Value

A dual matrix combining the arguments.

Examples

x <- dual( c(1, 3) )
y <- cbind(x, 2*x+1, 3*x+2, c(0,1))
y
d(y, "x1")



[Package salad version 1.0 Index]