metricsloop: metricsloop

View source: R/metricsloop.R

metricsloopR Documentation

metricsloop

Description

metricsloop

Usage

metricsloop(d, var, MT, m, PF, s)

Arguments

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.

Value

a data frame with different parameters to evaluate the model


giuliogiagnoni/modRMSE documentation built on Oct. 3, 2023, 3:29 p.m.