ranker(data)

버전 1.1.0.0 (791 Bytes) 작성자: R P
RANKER returns ranked position of DATA matrix, with the same line-row structure.
다운로드 수: 42
업데이트 날짜: 2016/3/30

라이선스 보기

편집자 메모: This file was selected as MATLAB Central Pick of the Week

Syntax: [ranked_data]=ranker(data);

Example: data=rand(3,2)
[ranked_data]=ranker(data)
Obs:
x=[1;10;100]
y=[4;3;70]
>> corr(x,y,'type','spearman')
ans =
0.5000

>> corr(ranker(x),ranker(y),'type','pearson')
ans =
0.5000

인용 양식

R P (2024). ranker(data) (https://www.mathworks.com/matlabcentral/fileexchange/56244-ranker-data), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R13
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Preprocessing Data에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

Now it works for repeated data points. Check ranker([1 2 3 3 3 3 4])

1.0.0.0

image update