Learn R Programming

scidb (version 1.2-0)

subset-methods: Methods for Function subset in Package scidb

Description

SciDB filter operations.

Usage

"subset"(X,subset,eval) "subset"(X,subset,eval)

Arguments

X
A scidb or scidbdf object.
subset
A character string representing a SciDB filter expression.
eval
(Optional) If true, execute the query. Otherwise defer evaluation.

Value

scidb, scidbdf reference object.

Details

Perform a SciDB filter operation on a SciDB array. The subset filter expression argument can be any valid SciDB filter operation.

Examples

Run this code
## Not run: 
# # Create a copy of the iris data frame in a 1-d SciDB array named "iris."
# # Note that SciDB attribute names will be changed to conform to SciDB
# # naming convention.
# x <- as.scidb(iris,name="iris")
# 
# y <- subset(x,"Species='setosa'")
# ## End(Not run)

Run the code above in your browser using DataLab