RowStatistics           package:fUtilities           R Documentation

_r_o_w _S_t_a_t_i_s_t_i_c_s

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

     A collection and description of functions to   compute row
     statistical properties of financial  and economic time series
     data.  

     The functions are:

       'rowStats'      calculates row statistics,
       'rowSums'       calculates row sums,
       'rowMeans'      calculates row means,
       'rowSds'        calculates row standard deviations,
       'rowVars'       calculates row variances,
       'rowSkewness'   calculates row skewness,
       'rowKurtosis'   calculates row kurtosis,
       'rowMaxs'       calculates maximum values in each row,
       'rowMins'       calculates minimum values in each row,
       'rowProds'      computes product of all values in each row,
       'rowQuantiles'  computes quantiles of each row.

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

     rowStats(x, FUN, ...) 

     rowSums(x, ...)
     rowMeans(x, ...)

     rowSds(x, ...)
     rowVars(x, ...)
     rowSkewness(x, ...)
     rowKurtosis(x, ...)
     rowMaxs(x, ...)
     rowMins(x, ...)
     rowProds(x, ...)
     rowQuantiles(x, prob = 0.05, ...)

     rowStdevs(x, ...)
     rowAvgs(x, ...)

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

     FUN: a function name. The statistical function to be applied. 

    prob: a numeric value, the probability with value in [0,1]. 

       x: a rectangular object which can be transformed into a matrix
          by the function 'as.matrix'.   

     ...: arguments to be passed. 

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

     the functions return a numeric vector of the statistics.

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

     Diethelm Wuertz for the Rmetrics R-port.

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

     ## Simulated Return Data in Matrix Form:
        x = matrix(rnorm(10*10), nrow = 10)
          
     ## rowStats -
        rowStats(x, FUN = mean)
        
     ## rowMaxs -
        rowMaxs(x)  

