From 225df4bde2a96da460e43a0c4428248bc1c59486 Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Sun, 24 May 2020 18:02:17 +0200 Subject: [PATCH] add_residuals man: Mention the var argument This clarifies that the column name is not hard coded to "resid" but can be specified. --- man/add_residuals.Rd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man/add_residuals.Rd b/man/add_residuals.Rd index c12abc4..c1c7abe 100644 --- a/man/add_residuals.Rd +++ b/man/add_residuals.Rd @@ -15,8 +15,8 @@ gather_residuals(data, ..., .resid = "resid", .model = "model") \arguments{ \item{data}{A data frame used to generate the residuals} -\item{model, var}{\code{add_residuals} takes a single \code{model}; the -output column will be called \code{resid}} +\item{model, var}{\code{add_residuals} takes a single \code{model}; the output column name +can be specified by setting \code{var}. If omitted, it will be called \code{resid}} \item{...}{\code{gather_residuals} and \code{spread_residuals} take multiple models. The name will be taken from either the argument