pub struct RStatisticalFunctions;Expand description
R statistical functions
Implementations§
Source§impl RStatisticalFunctions
impl RStatisticalFunctions
Sourcepub fn sd(r: &mut RIntegration, data: &[f64]) -> Result<f64, RError>
pub fn sd(r: &mut RIntegration, data: &[f64]) -> Result<f64, RError>
Compute standard deviation using R
Sourcepub fn t_test(
r: &mut RIntegration,
x: &[f64],
y: &[f64],
) -> Result<RValue, RError>
pub fn t_test( r: &mut RIntegration, x: &[f64], y: &[f64], ) -> Result<RValue, RError>
Perform t-test using R
Sourcepub fn lm(r: &mut RIntegration, x: &[f64], y: &[f64]) -> Result<RValue, RError>
pub fn lm(r: &mut RIntegration, x: &[f64], y: &[f64]) -> Result<RValue, RError>
Perform linear regression using R
Sourcepub fn cor(r: &mut RIntegration, x: &[f64], y: &[f64]) -> Result<f64, RError>
pub fn cor(r: &mut RIntegration, x: &[f64], y: &[f64]) -> Result<f64, RError>
Compute correlation using R
Auto Trait Implementations§
impl Freeze for RStatisticalFunctions
impl RefUnwindSafe for RStatisticalFunctions
impl Send for RStatisticalFunctions
impl Sync for RStatisticalFunctions
impl Unpin for RStatisticalFunctions
impl UnsafeUnpin for RStatisticalFunctions
impl UnwindSafe for RStatisticalFunctions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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 more