diff --git a/R/print_html.R b/R/print_html.R index 58d407b4f..a7a4be75c 100644 --- a/R/print_html.R +++ b/R/print_html.R @@ -1,10 +1,3 @@ -# Reexports models ------------------------ - -#' @importFrom insight print_html -#' @export -insight::print_html - - #' @export print_html.describe_posterior <- function(x, digits = 2, caption = "Summary of Posterior Distribution", ...) { .print_html_default(x = x, digits = digits, caption = caption, ...) diff --git a/R/print_md.R b/R/print_md.R index 879121158..f8910a123 100644 --- a/R/print_md.R +++ b/R/print_md.R @@ -1,10 +1,3 @@ -# Reexports models ------------------------ - -#' @importFrom insight print_md -#' @export -insight::print_md - - #' @export print_md.describe_posterior <- function(x, digits = 2, caption = "Summary of Posterior Distribution", ...) { .print_md_default(x = x, digits = digits, caption = caption, ...) diff --git a/R/reexports.R b/R/reexports.R new file mode 100644 index 000000000..0697792a5 --- /dev/null +++ b/R/reexports.R @@ -0,0 +1,10 @@ +# DO NOT REMOVE +# Re-exported generics for which the current package defines S3 methods + +#' @importFrom insight print_html +#' @export +insight::print_html + +#' @importFrom insight print_md +#' @export +insight::print_md diff --git a/man/diagnostic_posterior.Rd b/man/diagnostic_posterior.Rd index ab4e39938..d99d377dd 100644 --- a/man/diagnostic_posterior.Rd +++ b/man/diagnostic_posterior.Rd @@ -38,21 +38,13 @@ with one or more of these options: \code{"ESS"}, \code{"Rhat"}, \code{"MCSE"} or \item{effects}{Should parameters for fixed effects, random effects or both be returned? Only applies to mixed models. May be abbreviated.} -\item{component}{Which type of parameters to return, such as parameters for the +\item{component}{Should all predictor variables, predictor variables for the conditional model, the zero-inflated part of the model, the dispersion -term, the instrumental variables or marginal effects be returned? Applies -to models with zero-inflated and/or dispersion formula, or to models with -instrumental variables (so called fixed-effects regressions), or models -with marginal effects from \pkg{mfx}. May be abbreviated. Note that the +term or the instrumental variables be returned? Applies to models +with zero-inflated and/or dispersion formula, or to models with instrumental +variable (so called fixed-effects regressions). May be abbreviated. Note that the \emph{conditional} component is also called \emph{count} or \emph{mean} -component, depending on the model. There are three convenient shortcuts: -\code{component = "all"} returns all possible parameters. -If \code{component = "location"}, location parameters such as \code{conditional}, -\code{zero_inflated}, \code{smooth_terms}, or \code{instruments} are returned -(everything that are fixed or random effects - depending on the \code{effects} -argument - but no auxiliary parameters). For \code{component = "distributional"} -(or \code{"auxiliary"}), components like \code{sigma}, \code{dispersion}, -\code{beta} or \code{precision} (and other auxiliary parameters) are returned.} +component, depending on the model.} \item{parameters}{Regular expression pattern that describes the parameters that should be returned.} diff --git a/man/reexports.Rd b/man/reexports.Rd index f0f4159f8..b233b2570 100644 --- a/man/reexports.Rd +++ b/man/reexports.Rd @@ -1,5 +1,5 @@ % Generated by roxygen2: do not edit by hand -% Please edit documentation in R/print_html.R, R/print_md.R +% Please edit documentation in R/reexports.R \docType{import} \name{reexports} \alias{reexports}