| validate_newdata | R Documentation | 
Validate new data passed to post-processing methods of brms. Unless you
are a package developer, you will rarely need to call validate_newdata
directly.
validate_newdata(
  newdata,
  object,
  re_formula = NULL,
  allow_new_levels = FALSE,
  newdata2 = NULL,
  resp = NULL,
  check_response = TRUE,
  incl_autocor = TRUE,
  group_vars = NULL,
  req_vars = NULL,
  ...
)
| newdata | A  | 
| object | A  | 
| re_formula | formula containing group-level effects to be considered in
the prediction. If  | 
| allow_new_levels | A flag indicating if new levels of group-level
effects are allowed (defaults to  | 
| newdata2 | A named  | 
| resp | Optional names of response variables. If specified, predictions are performed only for the specified response variables. | 
| check_response | Logical; Indicates if response variables should
be checked as well. Defaults to  | 
| incl_autocor | A flag indicating if correlation structures originally
specified via  | 
| group_vars | Optional names of grouping variables to be validated. Defaults to all grouping variables in the model. | 
| req_vars | Optional names of variables required in  | 
| ... | Currently ignored. | 
A validated 'data.frame' based on newdata.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.