pub enum CorrelationMethod {
Pearson,
Spearman,
}Expand description
Which correlation coefficient to compute.
Variants§
Pearson
Pearson product-moment correlation (linear).
Spearman
Spearman rank correlation (monotonic) — Pearson on the ranks.
Trait Implementations§
Source§impl Clone for CorrelationMethod
impl Clone for CorrelationMethod
Source§fn clone(&self) -> CorrelationMethod
fn clone(&self) -> CorrelationMethod
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CorrelationMethod
Source§impl Debug for CorrelationMethod
impl Debug for CorrelationMethod
impl Eq for CorrelationMethod
Source§impl PartialEq for CorrelationMethod
impl PartialEq for CorrelationMethod
impl StructuralPartialEq for CorrelationMethod
Auto Trait Implementations§
impl Freeze for CorrelationMethod
impl RefUnwindSafe for CorrelationMethod
impl Send for CorrelationMethod
impl Sync for CorrelationMethod
impl Unpin for CorrelationMethod
impl UnsafeUnpin for CorrelationMethod
impl UnwindSafe for CorrelationMethod
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more