Error @rapplyranks: vector sent to function which operates on a matrix.
Posted: Sat Feb 24, 2018 11:22 am
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
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