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

names<-.tbl_AndromedaR Documentation

Set column names of an Andromeda table

Description

Set column names of an Andromeda table

Usage

## S3 replacement method for class '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

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

Andromeda documentation built on Nov. 24, 2023, 5:10 p.m.