R/FLCbind.R

#' @include FLMatrix.R
NULL



#' Combine objects by columns.
#'
#' \code{cbind} combines input objects by columns and forms a FLMatrix.
#'
#' \code{cbind} takes a sequence of vector, FLVector, matrix, FLMatrix or data frames arguments,
#' combines them by columns and makes a FLMatrix.
#' @param object... can be a sequence of vector, FLVector, matrix, FLMatrix or data frames
#' @section Constraints:
#' Input matrices, FLMatrices and data frames should have same number of rows.
#' @return \code{cbind} returns a FLMatrix object which is the column-wise combination of input arguments.
#' @method cbind FLMatrix
#' @export
cbind.FLMatrix<-function(object,...) FLbind(list(object,...),2)

#' @method cbind FLMatrixBind
#' @export
cbind.FLMatrixBind <- cbind.FLMatrix
Fuzzy-Logix/AdapteR documentation built on May 6, 2019, 5:07 p.m.