Dear Friends,

Further, I want to compute the APEn values for the multiple files in a
folder. In particular, along with the loop for the columns in one data file
(through the code that I mentioned above), I have to write a loop for the
multiple files (having same dimensions) in a folder.

But, I am not getting a proper idea for writing the double loop (i.e. one
for the multiple columns of one excel sheet and other for the multiple
excel sheets of a folder).

Please help me in this regard.

Thanks in advance.

On Sun, Oct 7, 2018 at 3:33 PM Subhamitra Patra <subhamitra.pa...@gmail.com>
wrote:

> Thanks a lot, Sir. I'll check them out.
>
> But, I have 1 more query that in which package   "b" and "l" functions
> are available?
>
> Can you please educate me about the usage of "b" and "I" in my code.
>
> For your reference,
>
> I am writing my code here again.
>
> N<-ncol(ts)
> > r<-matrix(0, ncol = N, nrow = 1)
> > for (i in 1:N){
>        r[i]<-approx_entropy(ts[,i], edim = 2, r = 0.2*sd(ts[,i]), elag = 1)
> }
> plot (r)
>
> Here how to add "b" and "l" function?
>
> Please help me.
>
> Thanks in advance.
>
> On Sun, Oct 7, 2018 at 3:19 PM Jim Lemon <drjimle...@gmail.com> wrote:
>
>> plot(r) will give you a set of points with the values of r on the y
>> axis and 1:N on the x axis. If you want to add more series, look at
>> "points" or "lines". Also look at the options "b" and "l" for plot if
>> you want points and lines or just lines respectively.
>>
>> Jim
>>
>> On Sun, Oct 7, 2018 at 6:03 PM Subhamitra Patra
>> <subhamitra.pa...@gmail.com> wrote:
>> >
>> > Hello friends,
>> >
>> > Finally, I became able to compute APEn values for each series.
>> >
>> > Actually, there was a small mistake in the code for the arguments of
>> row and columns. Now, after rectifying my mistakes as well as by taking the
>> suggestions from Rui Barradas and Jim, It became possible. Therefore, I
>> would like to say thanks to both of you.
>> >
>> > One small help (if possible) that I want to plot that particular APEn
>> values for each series.
>> > Only, I will write the code "plot (r)" or any other code is there?
>> >
>> > Please help.
>> >
>> > Thanks in advance.
>>
>
>
> --
> *Best Regards,*
> *Subhamitra Patra*
> *Phd. Research Scholar*
> *Department of Humanities and Social Sciences*
> *Indian Institute of Technology, Kharagpur*
> *INDIA*
>


-- 
*Best Regards,*
*Subhamitra Patra*
*Phd. Research Scholar*
*Department of Humanities and Social Sciences*
*Indian Institute of Technology, Kharagpur*
*INDIA*

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to