macro_rules! pnorm {
( $x:expr, $mean:expr, $sd:expr ) => { ... };
( $x:expr ) => { ... };
}
Expand description
R like pnorm
ยงExamples
#[macro_use]
extern crate peroxide;
use peroxide::fuga::*;
fn main() {
let a = pnorm!(2, 2, 1);
println!("{:?}", a); // 0.5
let b = pnorm!(0); // same as pnorm!(0,0,1)
println!("{:?}", b);
}