```rs use statisticaltestsrs::mean;
fn main() { // Get the mean of an array let array: [f64; 4] = [3.4, 6.7, 2.3, 1.1]; let m = mean(&array);
println!("{}", m);
}
```
```rs use statisticaltestsrs::{GetStatistics, SampleStatistics};
fn main() { // Get the statistics of a sample let samp = SampleStatistics::fromarray(&array); println!( "Sample Mean: {}, Sample Standard Deviation: {}", samp.samplemean, samp.standard_error ); } ```