Companion

object Companion

Functions

Link copied to clipboard

Forms a model specification with all first order, 2nd order, 3rd order, etc. interactions

Link copied to clipboard
fun parse(model: String): List<List<String>>

Parses the string into a list of lists that represents the model. Assumes that terms are specified with a space between them and '*' representing multiplication: