smile.data.formula

Formula DSL.

Attributes

Members list

Type members

Classlikes

case class FormulaBuilder(y: Option[Term], x: ListBuffer[Term])

DSL to build a formula in R style.

DSL to build a formula in R style.

Attributes

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

Value members

Concrete methods

def abs(x: String): Term
def abs(x: Term): Term
def acos(x: String): Term
def acos(x: Term): Term
def asin(x: String): Term
def asin(x: Term): Term
def atan(x: String): Term
def atan(x: Term): Term
def cbrt(x: String): Term
def cbrt(x: Term): Term
def ceil(x: String): Term
def ceil(x: Term): Term
def cos(x: String): Term
def cos(x: Term): Term
def cosh(x: String): Term
def cosh(x: Term): Term
def exp(x: String): Term
def exp(x: Term): Term
def expm1(x: String): Term
def expm1(x: Term): Term
def floor(x: String): Term
def floor(x: Term): Term
def log(x: String): Term
def log(x: Term): Term
def log10(x: String): Term
def log10(x: Term): Term
def log1p(x: String): Term
def log1p(x: Term): Term
def log2(x: String): Term
def log2(x: Term): Term
def rint(x: String): Term
def rint(x: Term): Term
def round(x: String): Term
def round(x: Term): Term
def sign(x: String): Term
def sign(x: Term): Term
def signum(x: String): Term
def signum(x: Term): Term
def sin(x: String): Term
def sin(x: Term): Term
def sinh(x: String): Term
def sinh(x: Term): Term
def sqrt(x: String): Term
def sqrt(x: Term): Term
def tan(x: String): Term
def tan(x: Term): Term
def tanh(x: String): Term
def tanh(x: Term): Term
def ulp(x: String): Term
def ulp(x: Term): Term

Implicits

Implicits

implicit def buildFactorCrossing(x: FactorCrossingBuilder): FactorCrossing
implicit def buildFactorInteraction(x: FactorInteractionBuilder): FactorInteraction
implicit def buildFormula(x: FormulaBuilder): Formula
implicit def pimpFormulaBuilder(x: String): PimpedFormulaBuilder
implicit def pimpFormulaBuilder(x: Term): PimpedFormulaBuilder
implicit def pimpFormulaString(x: String): PimpedFormulaString
implicit def pimpHyperTerm(x: Term): PimpedHyperTerm
implicit def pimpTerm(x: Term): PimpedTerm