pub struct Formula {
pub response: Option<Term>,
pub predictors: Vec<Term>,
pub intercept: bool,
}Expand description
A formula expression (response ~ predictors)
Fields§
§response: Option<Term>Response variable (left side of ~)
predictors: Vec<Term>Predictor terms (right side of ~)
intercept: boolWhether to include intercept (default: true)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Formula
impl RefUnwindSafe for Formula
impl Send for Formula
impl Sync for Formula
impl Unpin for Formula
impl UnsafeUnpin for Formula
impl UnwindSafe for Formula
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