Data Science, Data Visualization, Data Analysis, Rust, Programming.
tuple represents a pair of height sample value and its corresponding probability. let random_points:Vec<(f64,f64)> = { let heights_dist = Normal::new(171.6, 4.305).unwrap(); let mut heights = vec![162.0, 165.0, 167.0, 168.0, 168.0, 169.0, 170.0, 170.0, 171.0, 172.0, 172.0, 172.0, 173.0, 174.0,