Description Usage Arguments Details Value Constraints Examples
identical
checks the equality of in-database objects.
1 | identical(pObj1, pObj2)
|
pObj1 |
can be an in-database object like FLMatrix,FLVector or a normal R object like matrix,sparseMatrix,vector |
pObj2 |
can be an in-database object like FLMatrix,FLVector or a normal R object like matrix,sparseMatrix,vector |
The equality of in-database objects mimics the normal addition of R data types. One can check equality of FLMatrices, FLMatrix - R matrices, FLVectors and FLVector - RVector.
identical
returns a logical TRUE or FALSE.
Currently only dgCMatrix
,dgeMatrix
,dsCMatrix
,
dgTMatrix
,matrix
,Matrix
,vector
R types
are supported.
1 2 3 4 | flmatrix <- FLMatrix("tblMatrixMulti", 5,"MATRIX_ID","ROW_ID","COL_ID","CELL_VAL")
Rvector <- 1:5
Result <- identical(flmatrix,flmatrix)
Result <- identical(Rvector,as.FLVector(Rvector,connection))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.