WH.bind-methods: Method WH.bind

Description Usage Arguments Value See Also Examples

Description

Method WH.bind

It attaches two MatH objects with the same columns by row, or the same rows by colum.

Usage

1
2
3
4
WH.bind(object1, object2, byrow)

## S4 method for signature 'MatH,MatH'
WH.bind(object1, object2, byrow = TRUE)

Arguments

object1

a MatH object

object2

a MatH object

byrow

a logical value (default=TRUE) attaches the objects by row

Value

a MatH object,

See Also

WH.bind.row for binding by row, WH.bind.col for binding by column

Examples

1
2
3
4
5
6
7
8
# binding by row 
M1<-BLOOD[1:10,1]
M2<-BLOOD[1:10,3]
MAT<-WH.bind(M1,M2, byrow=TRUE)
# binding by col
M1<-BLOOD[1:10,1]
M2<-BLOOD[1:10,3]
MAT<-WH.bind(M1,M2, byrow=FALSE)

HistDAWass documentation built on March 20, 2018, 5:04 p.m.