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 |
value |
character argument. The new value for |
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]