home *** CD-ROM | disk | FTP | other *** search
-
- _C_u_m_u_l_a_t_i_v_e _S_u_m_s, _P_r_o_d_u_c_t_s, _e_t_c.
-
- cumsum(x)
- cumprod(x)
- cummax(x)
- cummin(x)
-
- _V_a_l_u_e:
-
- A vector with the same length of x, but whose elements
- are the cumulative sums, products, minima or maxima of
- those in x. An NA value in x will the corresponding
- and following elements of the value to be NA.
-
- _E_x_a_m_p_l_e_s:
-
- cumsum(1:10)
- cumprod(1:10)
- cummin(c(3:1,2:0,4:2))
- cummax(c(3:1,2:0,4:2))
-
-