View source: R/utils_asserts.R
| assert_error_correct_avg_trend | R Documentation | 
error_correct, then check that the columns are either in the
formula_vars or average_cols, otherwise produce an error.If using error_correct, then check that the columns are either in the
formula_vars or average_cols, otherwise produce an error.
assert_error_correct_avg_trend(
  formula_vars,
  average_cols,
  error_correct,
  error_correct_cols
)
formula_vars | 
 Variables included in the model formula, generated by
  | 
average_cols | 
 Column name(s) of column(s) for use in grouping data for averaging, such as regions. If missing, uses global average of the data for infilling.  | 
error_correct | 
 Logical value indicating whether or not whether mean error
should be used to adjust predicted values. If   | 
error_correct_cols | 
 Column names of data frame to group by when applying error correction to the predicted values.  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.