Description Usage Arguments Details Value Constraints Examples
%%
calculates the remainder of in-database object division.
1 | pObj1 %% pObj2
|
pObj1 |
can be an in-database object like FLMatrix,FLSparseMatrix,FLVector or a normal R object like matrix,sparseMatrix,vector |
pObj2 |
can be an in-database object like FLMatrix,FLSparseMatrix,FLVector or a normal R object like matrix,sparseMatrix,vector |
The remainder of in-database objects mimics the normal remainder of R data types. All combinations of operands are possible just like in R and the result is an in-database object.
%%
returns an in-database object if there is atleast one in-database object
as input.Otherwise, the default behavior of R is preserved
division by 0 gives inf in R, but is not supported for in-database objects
1 2 3 | flmatrix <- FLMatrix("tblMatrixMulti", 1,"MATRIX_ID","ROW_ID","COL_ID","CELL_VAL")
Rvector <- 1:5
ResultFLmatrix <- flmatrix %% Rvector
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.