metricsloop | R Documentation |
metricsloop
metricsloop(d, var, MT, m, PF, s)
d |
a data frame. |
var |
a vector of varibales in the data set. |
MT |
a model type, such as "lm" or "lmer". |
m |
a model such as "x + y", or "x + y + (1|random)", or "x + y, family = Gamma". Varibales have to be present in the dataset d. |
PF |
function for calculate the prediction of the model such as "predict.glm", if empty it will use "predict". |
s |
significant digits empty: return all values. number 1 to 6: will return the desired significant digits. "std1": will return number as character in a predefined format. |
a data frame with different parameters to evaluate the model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.