# NOT RUN {
# In the example regarding the simmetry test (typetest = 0), the length of
# each block is equal to 40 (lb=40) and the number of overlapped data between
# two consecutive blocks is equal to 10 (ls=10). In this way, 24 blocks, for
# each time series of 730 data have been obtained [24 = (730 - 1) / (40 - 10)].
# This number of blocks is consistent with respect the number of comparisons
# (24) defined in couples. Moreover, it is necessary to specify some external
# arguments: the number of variables in the analyzed STFDF (rr_13) and to
# confirm whether or not one wants to proceed
# with the number of blocks obtained with the aforementioned combination of
# lb and ls
#
# To run the example, paste and copy the following lines
# (without the symbol '#') in the console
#
# coupl_sim <- couples(typetest = 0, typecode = character())
# blocks_sim <- blocks(lb = 40, ls = 10, matdata = rr_13, stpairs = coupl_sim)
# 1
# Y
# }
Run the code above in your browser using DataLab