A class that represents 1D SciDB arrays similarly to R data.frames.

Objects can be created by calls of the form `new("scidbdf", ...)`

,
`scidb("ARRAY_NAME", ...)`

, or `as.scidb(R_DATA_FRAME, ...)`

.

`name`

:Object of class

`"character"`

scidb array name.`attributes`

:Object of class

`"character"`

Vector of SciDB attribute names.`dimensions`

:Object of class

`"character"`

Vector of SciDB dimension names.`schema`

:Object of class

`"character"`

SciDB array schema.`logical_plan`

:Object of class

`"character"`

SciDB array plan.`gc`

:Object of class

`"environment"`

An environment used to link the SciDB array to the R garbage collector.`.S3Class`

:Object of class

`"character"`

~~

- is.scidbdf
`signature(x = "scidbdf")`

: ...- is.scidbdf
`signature(x = "ANY")`

: ...`signature(x = "scidbdf")`

: ...- head
`signature(x = "scidbdf")`

: ...- tail
`signature(x = "scidbdf")`

: ...- show
`signature(object = "scidbdf")`

: ...- Filter
`signature(f="character", x = "scidbdf")`

:`Filter(f,x)`

'Filter' masks elements of a vector for which a predicate (logical) SciDB expression 'f' returns false by making them empty, returning a sparse version of the array.- sin
`signature(x = "scidbdf")`

:`sin(x)`

Return an array with the sine of each element of the array`x`

. The first listed attribute is used and should be numeric. The returned array contains a new attibute with "_sin" appended containing the result. Additional trig functions (`cos, tan, asin, acos, atan`

) act similarly.- abs
`signature(x = "scidbdf")`

:`abs(x)`

See doc. for`sin`

.- sqrt
`signature(x = "scidbdf")`

:`sqrt(x)`

See doc. for`sin`

.- exp
`signature(x = "scidbdf")`

:`exp(x)`

See doc. for`sin`

.- cos
`signature(x = "scidbdf")`

:`cos(x)`

See doc. for`sin`

.- tan
`signature(x = "scidbdf")`

:`tan(x)`

See doc. for`sin`

.- asin
`signature(x = "scidbdf")`

:`asin(x)`

See doc. for`sin`

.- acos
`signature(x = "scidbdf")`

:`acos(x)`

See doc. for`sin`

.- atan
`signature(x = "scidbdf")`

:`atan(x)`

See doc. for`sin`

.- unpack
`unpack(x = "scidbdf")`

:`unpack(x)`

Return a 1-D representation of an array using the SciDB array unpack operator.- regrid
`signature(x = "scidbdf")`

:`regrid(x, grid, expr)`

Decimate the n-d SciDB array`x`

by binning its coordinate system according to the`grid`

argument and applying the aggregate expression on each bin. The`grid`

argument must be the same length as the dimension of the array`x`

. For example if`x`

is a 10x10 matrix, then`regrid(x, c(2,1))`

returns a 5x10 matrix replacing the rows with the average of values along every two rows.- xgrid
`signature(x = "scidbdf")`

:`xgrid(x, grid=c(m,...))`

Prolong the coordinate system of the n-d SciDB array`x`

by replicating its values according to the`grid`

parameter. In some cases,`xgrid`

can be the inverse operation of`regrid`

. For example if`x`

is a 10x10 matrix, then`xgrid(x, c(2,1))`

returns a 20x10 matrix, replicating values twice along the row dimension.

Like the related `scidb`

class, the `scidbdf`

class represents
SciDB arrays as R objects. The `scidbdf`

class presents 1-D SciDB arrays,
potentially with many SciDB attributes (variables), as a data.frame-like object.

Use the special empty-bracket index `[]`

to return data from SciDB to R.

B. W. Lewis <blewis@paradigm4.com>

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.