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

