datanames: Names of data sets in 'teal_data' object

View source: R/deprecated.R

datanamesR Documentation

Names of data sets in teal_data object

Description

[Deprecated]

Use names() instead of datanames().

datanames() is deprecated. If object should be hidden, then use a . (dot) prefix for the object's name.

Usage

datanames(x)

datanames(x) <- value

## S3 replacement method for class 'teal_data'
names(x) <- value

Arguments

x

(teal_data or qenv_error) object to access or modify

value

(character) new value for ⁠@datanames⁠; all elements must be names of variables existing in ⁠@.xData⁠

Value

The contents of ⁠@datanames⁠ or teal_data object with updated ⁠@datanames⁠.


teal.data documentation built on April 4, 2025, 1:50 a.m.