Learn R Programming

scidb (version 1.1-2)

attribute_rename: Rename an attribute.

Description

Rename a SciDB array attribute.

Usage

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

Arguments

x
A scidb or scidbdf object.
old
A character string representation of the old attribute name.
new
A character string representation of the new attribute 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 dimension_rename cast

Examples

Run this code
x <- as.scidb(iris)
y <- attribute_rename(x, "Species", "Group")

print(head(y))

Run the code above in your browser using DataLab