pub enum QQDistribution {
Normal {
mean: f64,
sd: f64,
},
StudentT {
df: f64,
},
Exponential {
rate: f64,
},
HalfNormal {
sd: f64,
},
}Expand description
Theoretical distribution of a QQ plot, with its parameters (ggplot2’s
distribution + dparams).
Variants§
Normal
Normal (qnorm), default mean = 0, sd = 1.
StudentT
Student t (qt) with df degrees of freedom.
Exponential
Exponential (qexp) with the given rate.
HalfNormal
Half-normal — |Z|·sd, the reference for half-normal plots of
absolute residuals: quantile sd · qnorm((1 + p) / 2).
Implementations§
Source§impl QQDistribution
impl QQDistribution
Sourcepub fn exponential() -> Self
pub fn exponential() -> Self
Exponential with rate 1.
Sourcepub fn half_normal() -> Self
pub fn half_normal() -> Self
Half-normal with sd = 1.
Trait Implementations§
Source§impl Clone for QQDistribution
impl Clone for QQDistribution
impl Copy for QQDistribution
Source§impl Debug for QQDistribution
impl Debug for QQDistribution
Source§impl Default for QQDistribution
impl Default for QQDistribution
Source§impl Display for QQDistribution
impl Display for QQDistribution
Source§impl PartialEq for QQDistribution
impl PartialEq for QQDistribution
impl StructuralPartialEq for QQDistribution
Auto Trait Implementations§
impl Freeze for QQDistribution
impl RefUnwindSafe for QQDistribution
impl Send for QQDistribution
impl Sync for QQDistribution
impl Unpin for QQDistribution
impl UnsafeUnpin for QQDistribution
impl UnwindSafe for QQDistribution
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more