attach {timeSeries} | R Documentation |
Attach a timSeries to the search path
Description
Attach a 'timeSeries' object to the search path.
attach | attaches a 'timeSeries' object, |
detach | detaches a 'timeSeries' object [see base package]. |
Usage
## S4 method for signature 'timeSeries'
attach(what, pos = 2, name = deparse(substitute(what)),
warn.conflicts = TRUE)
Arguments
name |
[attach] -
alternative way to specify the database to be attached.
See for details help(attach,package=base) .
|
pos |
[attach] -
an integer specifying position in search() where to attach
the database.
See for details help(attach,package=base) .
|
warn.conflicts |
[attach] -
a logical value. If TRUE , warnings are printed about
conflicts from attaching the database, unless that database
contains an object .conflicts.OK . A conflict is a
function masking a function, or a non-function masking a
non-function.
See for details help(attach,package=base) .
|
what |
[attach] -
database to be attached. This may currently be a timeSeries object,
a data.frame or a list or a R data file created with save or NULL
or an environment.
See for details help(attach,package=base) .
|
Note
Preliminary, further work has to be done.
Examples
## Load Microsoft Data Set -
data(MSFT)
x <- MSFT[1:10, ]
## Attach the Series and Compute the Range -
attach(x)
High - Low
[Package
timeSeries version 2160.95
Index]