dates | R Documentation |
records
or an rtoi
Get/set the dates from a records
or an rtoi
dates(x)
## S4 method for signature 'records'
dates(x)
dates(x) <- value
## S4 replacement method for signature 'records'
dates(x) <- value
## S4 method for signature 'rtoi'
dates(x)
x |
a |
value |
the new date to asign |
returns a vector of Date
class
## 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"))
# get a vector of dates includes in rtoi
dates(navarre)
# get the records
rcds <- records(navarre)
# coerce the records to dataframr
dates(rcds)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.