pub struct Term {
pub name: String,
pub start: usize,
pub stop: usize,
}Expand description
A named model term and the half-open column range [start, stop) it spans
in the design matrix.
Fields§
§name: StringTerm label, e.g. "C(a)" or "C(a):C(b)". The interaction separator is
:; factor names are the colon-separated pieces.
start: usizeFirst column (inclusive) of this term in exog.
stop: usizeLast column (exclusive) of this term in exog.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Term
impl RefUnwindSafe for Term
impl Send for Term
impl Sync for Term
impl Unpin for Term
impl UnsafeUnpin for Term
impl UnwindSafe for Term
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