c2d                 package:RTisean                 R Documentation

_L_o_c_a_l _s_l_o_p_e_s _f_r_o_m _c_o_r_r_e_l_a_t_i_o_n _s_u_m_s.

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

     Reads the correlation integral, output of  'c1' or 'd2' and
     computes local slopes by fitting straight lines.

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

     c2d(lst, a = 1)

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

     lst: the output of  'c1' or 'd2'.

       a: (-'a', +'a') is the range of the fits.

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

     A list of as many matrices as the number of dimensions of 'lst'.
     Each matrix contains the values of epsilon in the first column and
     the local slopes in the second column.

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

     'c2t', 'c2g'

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

     ## Not run: 

     dat <- henon(l=10000,x=1000)
     infodim <- c1(dat,d=1,m=2,M=6,t=50,n=500)
     localslopes <- c2d(infodim, a=1)

     plot(localslopes[[1]],t="l",ylim=c(0,3.5), xlim=c(0.001,2), col=2,xlab="Epsilon",
     ylab="Local Slopes",log="x", main="Local Slope Plot, embedding dims=(2,...,6)")
     for (a in 2:5) 
             lines(localslopes[[a]],col=2)

     ## End(Not run)

