[][src]Struct samplics::sampling::StratifiedSample

pub struct StratifiedSample<T> {
    pub index: Option<Vec<usize>>,
    pub y: Option<Vec<T>>,
    pub stratum: Option<Vec<T>>,
    pub mos: Option<Vec<f64>>,
    pub samp_size: HashMap<T, usize>,
    pub pop_size: HashMap<T, usize>,
    pub probs: Vec<f64>,
    pub fpc: HashMap<T, f64>,
    pub with_replacement: bool,
    pub pps_method: Option<PPS>,
    pub seed: Option<u64>,
}

Fields

index: Option<Vec<usize>>y: Option<Vec<T>>stratum: Option<Vec<T>>mos: Option<Vec<f64>>samp_size: HashMap<T, usize>pop_size: HashMap<T, usize>probs: Vec<f64>fpc: HashMap<T, f64>with_replacement: boolpps_method: Option<PPS>seed: Option<u64>

Auto Trait Implementations

impl<T> RefUnwindSafe for StratifiedSample<T> where
    T: RefUnwindSafe
[src]

impl<T> Send for StratifiedSample<T> where
    T: Send
[src]

impl<T> Sync for StratifiedSample<T> where
    T: Sync
[src]

impl<T> Unpin for StratifiedSample<T> where
    T: Unpin
[src]

impl<T> UnwindSafe for StratifiedSample<T> where
    T: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,