From 5a86876441959fe4a4366645a4217fc95bc74760 Mon Sep 17 00:00:00 2001 From: Leonidas Zhak <70497898+LeonidasZhak@users.noreply.github.com> Date: Sun, 7 Jun 2026 18:10:08 +0800 Subject: [PATCH] docs: fix grammar in frollapply.Rd by.column section MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix two grammar errors in the \code{by.column} argument section: - 'allows to apply' → 'allows applying' (bare infinitive error) - 'length of a vectors' → 'length of vectors' (article-noun disagreement) --- man/frollapply.Rd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/frollapply.Rd b/man/frollapply.Rd index 3b51678b36..7f350ab592 100644 --- a/man/frollapply.Rd +++ b/man/frollapply.Rd @@ -34,7 +34,7 @@ } } \section{\code{by.column} argument}{ - Setting \code{by.column} to \code{FALSE} allows to apply function on multiple variables rather than a single vector. Then \code{X} expects to be data.table, data.frame or a list of equal length vectors, and window size provided in \code{N} refers to number of rows (or length of a vectors in a list). See examples for use cases. Error \emph{"incorrect number of dimensions"} can be commonly observed when \code{by.column} was not set to \code{FALSE} when \code{FUN} expects its input to be a data.table or data.frame. + Setting \code{by.column} to \code{FALSE} allows applying function on multiple variables rather than a single vector. Then \code{X} expects to be data.table, data.frame or a list of equal length vectors, and window size provided in \code{N} refers to number of rows (or length of vectors in a list). See examples for use cases. Error \emph{"incorrect number of dimensions"} can be commonly observed when \code{by.column} was not set to \code{FALSE} when \code{FUN} expects its input to be a data.table or data.frame. } \section{\code{simplify} argument}{ When set to \code{TRUE} (default), then results from rolling function which are normally stored in a list may be simplified either with \code{unlist} or \code{rbindlist}. It also attempts to match type, size and names of \code{fill} argument to the results of a function.