attach                package:fSeries                R Documentation

_A_t_t_a_c_h _a _t_i_m_S_e_r_i_e_s _t_o _t_h_e _s_e_a_r_c_h _p_a_t_h

_D_e_s_c_r_i_p_t_i_o_n:

     A collection and description of functions  and methods dealing
     with the attachment of timeSeries objects to the search path.               

       'attach'  attaches a 'timeSeries' object,
       'detach'  detaches a 'timeSeries' object [see base package].

_U_s_a_g_e:

     ## S3 method for class 'timeSeries':
     attach(what, pos = 2, name = deparse(substitute(what)), 
         warn.conflicts = TRUE)

_A_r_g_u_m_e_n_t_s:

    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)'. 

_N_o_t_e:

     Preliminary, further work has to be done.

_A_u_t_h_o_r(_s):

     Diethelm Wuertz for the Rmetrics R-port.

_E_x_a_m_p_l_e_s:

     ## data - 
        x = as.timeSeries(data(msft.dat))[1:10, ]
        
     ## attach -
        attach(x)
        High - Low

