Skip to content
forked from zolkko/kendalls

Kendall's tau rank correlation

License

Notifications You must be signed in to change notification settings

Genarito/kendalls

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kendalls

crates.io docs.rs Travis CI Build Status codecov

Kendall's rank correlation coefficient

Usage

Add this to your Cargo.toml:

[dependencies]
kendalls = "0.2.1"

and this to your crate root:

extern crate kendalls;

Example:

fn main() -> Result<(), kendalls::Error> {
    let (tau_b, significance) = kendalls::tau_b(&[1, 2, 3], &[3, 4, 5])?;
    assert_eq!(tau_b, 1.0);
    assert_eq!(significance, 1.5666989036012806);

    Ok(())
}

About

Kendall's tau rank correlation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%