Page 1 of 1

Error @rapplyranks: vector sent to function which operates on a matrix.

Posted: Sat Feb 24, 2018 11:22 am
by andrejs
Hi,

would someone please help me with @rapplyranks command error, am I missing something in the syntax?

As a simple example, I have 10x5 matrix A at and 5x1 vector F at hand. Following the manual on @rapplyrank, I then run:
matrix d = @rapplyranks(a,f)
Which produces the following error: vector sent to function which operates on a matrix.

Im a bit confused - what vector instead of matrix? Isn't it according to syntax where first paramater A is a matrix and second parameter f is a vector?

[Please see attached the very simple workfile, in case it helps to clarify]

Thank you in advance,
Andrejs

Re: Error @rapplyranks: vector sent to function which operates on a matrix.

Posted: Sun Feb 25, 2018 9:56 pm
by EViews Gareth
What's the build date and version of EViews (Help-About EViews)?

Re: Error @rapplyranks: vector sent to function which operates on a matrix.

Posted: Mon Feb 26, 2018 12:18 am
by andrejs
Its Eviews 10, Jun 26 2017 build.
Might it be the case that something has changed in @rapplyranks syntax?

Re: Error @rapplyranks: vector sent to function which operates on a matrix.

Posted: Mon Feb 26, 2018 5:23 am
by EViews Gareth
Update to the latest version.

Re: Error @rapplyranks: vector sent to function which operates on a matrix.

Posted: Mon Feb 26, 2018 6:25 am
by andrejs
Thanks, it solved the issue!

Have a nice day,
Andrejs