selectSeries             package:tframe             R Documentation

_E_x_t_r_a_c_t _a _S_u_b_s_e_t _o_f _S_e_r_i_e_s

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

     Extract a subset of series from a tframed object.

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

         selectSeries(x, series = seqN(nseries(x)))
         ## Default S3 method:
         selectSeries(x, series = seqN(nseries(x)))
         ## S3 method for class 'ts':
         selectSeries(x, series = seqN(nseries(x)))
         

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

       x: A tframed object.

  series: The subset of series to retain.

_D_e_t_a_i_l_s:

     This is like [ , , drop=FALSE] but retains class, series name and
     tframe  information. It also provides a methods which works with
     multivariate series which  are not matrices (e.g. tfPADIdata).

_V_a_l_u_e:

     A tframed object.

_S_e_e _A_l_s_o:

     'seriesNames' 'tfPADIdata'

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

         z <- selectSeries(matrix(rnorm(1000), 100,10), series=c(2, 5, 6))

