WH.bind | R Documentation |
It attaches two MatH
objects with the same columns by row, or the same rows by colum.
WH.bind(object1, object2, byrow) ## S4 method for signature 'MatH,MatH' WH.bind(object1, object2, byrow = TRUE)
object1 |
a |
object2 |
a |
byrow |
a logical value (default=TRUE) attaches the objects by row |
a MatH
object,
WH.bind.row
for binding by row, WH.bind.col
for binding by column
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.