pub struct CorrelationResult {
pub statistic: f64,
pub pvalue: f64,
}Expand description
A correlation coefficient with its two-sided p-value.
Fields§
§statistic: f64The estimated coefficient in [-1, 1].
pvalue: f64Two-sided p-value under the null of no association.
Trait Implementations§
Source§impl Clone for CorrelationResult
impl Clone for CorrelationResult
Source§fn clone(&self) -> CorrelationResult
fn clone(&self) -> CorrelationResult
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 CorrelationResult
Source§impl Debug for CorrelationResult
impl Debug for CorrelationResult
Source§impl PartialEq for CorrelationResult
impl PartialEq for CorrelationResult
impl StructuralPartialEq for CorrelationResult
Auto Trait Implementations§
impl Freeze for CorrelationResult
impl RefUnwindSafe for CorrelationResult
impl Send for CorrelationResult
impl Sync for CorrelationResult
impl Unpin for CorrelationResult
impl UnsafeUnpin for CorrelationResult
impl UnwindSafe for CorrelationResult
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