Learn R Programming

scidb (version 1.1-2)

dimension_rename: Rename a dimension.

Description

Rename a SciDB array dimension.

Usage

dimension_rename(x, old, `new`, `eval`=FALSE)

Arguments

x
A scidb or scidbdf object.
old
A character string representation of the old dimension name.
new
A character string representation of the new dimension name.
eval
(Optional) If true, execute the query and store the reult array. Otherwise defer evaluation.

Value

  • A new scidb or scidbdf object.

See Also

scidb attribute_rename cast

Examples

Run this code
x <- as.scidb(iris)
y <- dimension_rename(x, "row", "i")

str(y)

Run the code above in your browser using DataLab