smile
.
data
formula
package
formula
Formula DSL.
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
formula
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Type Members
case class
FormulaBuilder
(
y:
Option
[
Term
]
,
x:
ListBuffer
[
Term
]
)
extends
Product
with
Serializable
DSL to build a formula in R style.
Value Members
def
abs
(
x:
String
)
:
Term
def
acos
(
x:
String
)
:
Term
def
asin
(
x:
String
)
:
Term
def
atan
(
x:
String
)
:
Term
implicit
def
buildFactorCrossing
(
x:
FactorCrossingBuilder
)
:
FactorCrossing
implicit
def
buildFactorInteraction
(
x:
FactorInteractionBuilder
)
:
FactorInteraction
implicit
def
buildFormula
(
x:
FormulaBuilder
)
:
Formula
def
cbrt
(
x:
String
)
:
Term
def
ceil
(
x:
String
)
:
Term
def
cos
(
x:
String
)
:
Term
def
cosh
(
x:
String
)
:
Term
def
dot
()
:
Term
def
exp
(
x:
String
)
:
Term
def
expm1
(
x:
String
)
:
Term
def
floor
(
x:
String
)
:
Term
def
log
(
x:
String
)
:
Term
def
log10
(
x:
String
)
:
Term
def
log1p
(
x:
String
)
:
Term
def
log2
(
x:
String
)
:
Term
implicit
def
pimpFormulaString
(
x:
String
)
:
PimpedFormulaString
implicit
def
pimpHyperTerm
(
x:
Term
)
:
PimpedHyperTerm
implicit
def
pimpTerm
(
x:
Term
)
:
PimpedTerm
def
rint
(
x:
String
)
:
Term
def
round
(
x:
String
)
:
Term
def
sign
(
x:
String
)
:
Term
def
signum
(
x:
String
)
:
Term
def
sin
(
x:
String
)
:
Term
def
sinh
(
x:
String
)
:
Term
def
sqrt
(
x:
String
)
:
Term
def
tan
(
x:
String
)
:
Term
def
tanh
(
x:
String
)
:
Term
def
ulp
(
x:
String
)
:
Term
Inherited from
AnyRef
Inherited from
Any
Ungrouped
Formula DSL.