head.FLTable: Return the First or Last Part of an in-database Object

Description Usage Arguments Value Usage See Also Examples

Description

head() and tail() functions return the first or last parts of a FLVector, FLMatrix orFLTable.

Usage

1
head.FLTable(x, n = 6L, ...)

Arguments

x

an in-database object(FLVector, FLMatrix or FLTable)

n

a single integer. If positive, size for the resulting object: number of elements for a vector (including lists), rows for a matrix or data frame or lines for a function. If negative, all but the n last/first number of elements of x.

Value

returns an object (usually) like x i.e. an in-database object but generally smaller.

Usage

tail.FLMatrix(x, n=6L, ...)

See Also

head , tail for R reference implementation.

Examples

1
2
3
flmatrix <- FLMatrix("tblMatrixMulti", 1,"MATRIX_ID","ROW_ID","COL_ID","CELL_VAL")
headflmatrix <- head(flmatrix, n=6L, ...)
print(headflmatrix)

Fuzzy-Logix/AdapteR documentation built on May 6, 2019, 5:07 p.m.