Learn R Programming

scidb (version 1.2-0)

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
## Not run: 
# x <- as.scidb(iris)
# y <- attribute_rename(x, "Species", "Group")
# 
# print(head(y))
# ## End(Not run)

Run the code above in your browser using DataLab