Learn R Programming

Andromeda (version 0.6.7)

names<-.tbl_Andromeda: Set column names of an Andromeda table

Description

Set column names of an Andromeda table

Usage

# S3 method for tbl_Andromeda
names(x) <- value

Arguments

x

A reference to a table in an andromeda object. (see examples)

value

A character vector of new names that must have length equal to the number of columns in the table.

Examples

Run this code
andr <- andromeda(cars = cars)
names(andr$cars) <- toupper(names(andr$cars))
names(andr$cars)
# [1] "SPEED" "DIST" 
close(andr)

Run the code above in your browser using DataLab