FormulaBuilder

smile.data.formula.FormulaBuilder
case class FormulaBuilder(y: Option[Term], x: ListBuffer[Term])

DSL to build a formula in R style.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def +(term: Term): FormulaBuilder
def +(variable: String): FormulaBuilder
def -(term: Term): FormulaBuilder
def -(variable: String): FormulaBuilder
def toFormula: Formula

Builds the formula.

Builds the formula.

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product