A helper function to create the model.frame
for many elo
functions.
elo.model.frame( formula, data, na.action, subset, k = NULL, ..., required.vars = "elos", warn.k = TRUE, ncol.k = 1, ncol.elos = 2 )
formula | A formula. See the help page for formulas for details. |
---|---|
data | A |
na.action | A function which indicates what should happen when the data contain NAs. |
subset | An optional vector specifying a subset of observations. |
k | A constant k-value (or a vector, where appropriate). |
... | Other arguments (not in use at this time). |
required.vars | One or more of |
warn.k | Should a warning be issued if |
ncol.k | How many columns ( |
ncol.elos | How many Elo columns are expected? |