Models

Model nodes

Nodes grouped under the “Models” category range from simple calculations of means, standard deviations or standard errors, through to linear models and generalised linear models. Other nodes allow you to check the assumptions of your models and make predictions.

Mean / SD node

Uses the conventional “Response ~ Explanatory variable(s)” approach to calculate means, SD, SE, number of variables etc. Output is a data frame which can be used in subsequent nodes.

Linear model node

This node uses R’s lm() function to fit a linear model to your data. The model is specified using the conventional “Response ~ Explanatory variable(s)” formula. Output can be in summary() format, usually better for “regression” type models, or anova() format to produce F-statistics. If needed, the latter can use the car() library to produce Type II or Type III ANOVA tables if you have unbalanced designs. Output can be saved as an R object of class lm.

GLM node

This node uses base R’s glm() function to fit generalised linear models.

GLMM node

This Standard-plan node uses glmmTMB() and supports a wider range of error distributions. Its fitted models can be large and consume storage quota.

Diagnostics node

Uses the DHARMa package to check the assumptions of your model. This node can be used with model objects produced by the Linear model, GLM or GLMM nodes. Choice of QQ plots or residual plots are available.

Predict node

Allows you to make predictions from linear, GLM or GLMM models. The predictions can be made for a single data value, or based on a data frame of new values.

Tukey HSD node

This node uses R’s TukeyHSD() function to perform Tukey’s Honest Significant Difference test for pairwise comparisons of means. Typically used where you have a categorical explanatory variable with more than two levels.