names,records-method {rsat}R Documentation

Get the name of the object

Description

A function to get or set the names of an object.

Usage

## S4 method for signature 'records'
names(x)

## S4 method for signature 'rtoi'
names(x)

## S4 replacement method for signature 'rtoi,character'
names(x) <- value

Arguments

x

a records or an rtoi object.

value

character argument. The new value for x.

Value

a character vector containing the name of all the names in x.

Examples

## Not run: 
# load example rtoi
file.copy(from=system.file("ex/Navarre",package="rsat"),
         to=tempdir(),
         recursive = TRUE)

navarre <- read_rtoi(file.path(tempdir(),"Navarre"))

names(navarre)
names(navarre) <- "New name"
names(navarre)

rcrds <- records(navarre)

names(rcrds)

## End(Not run)

[Package rsat version 0.1.21 Index]