diff --git a/R/tm_a_regression.R b/R/tm_a_regression.R index 158e79a20..6deae533c 100644 --- a/R/tm_a_regression.R +++ b/R/tm_a_regression.R @@ -1012,13 +1012,13 @@ srv_a_regression <- function(id, output_q <- reactive({ teal::validate_inputs(iv_r()) switch(input$plot_type, - "Response vs Regressor" = output_plot_0(), - "Residuals vs Fitted" = output_plot_1(), - "Normal Q-Q" = output_plot_2(), - "Scale-Location" = output_plot_3(), - "Cook's distance" = output_plot_4(), - "Residuals vs Leverage" = output_plot_5(), - "Cook's dist vs Leverage" = output_plot_6() + "Response vs Regressor" = output_plot_0(), + "Residuals vs Fitted" = output_plot_1(), + "Normal Q-Q" = output_plot_2(), + "Scale-Location" = output_plot_3(), + "Cook's distance" = output_plot_4(), + "Residuals vs Leverage" = output_plot_5(), + "Cook's dist vs Leverage" = output_plot_6() ) }) diff --git a/man/shared_params.Rd b/man/shared_params.Rd index 2c7b003ef..1cf943565 100644 --- a/man/shared_params.Rd +++ b/man/shared_params.Rd @@ -34,8 +34,8 @@ with text placed before the output to put the output into context. For example a \item{post_output}{(\code{shiny.tag}) optional, text or UI element to be displayed after the module's output, adding context or further instructions. Elements like \code{shiny::helpText()} are useful.} -\item{decorators}{\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#experimental}{\figure{lifecycle-experimental.svg}{options: alt='[Experimental]'}}}{\strong{[Experimental]}} (\code{list} of \code{teal_transform_module}) optional, -decorator for tables or plots included in the module.} +\item{decorators}{\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#experimental}{\figure{lifecycle-experimental.svg}{options: alt='[Experimental]'}}}{\strong{[Experimental]}} (\code{list} of \code{teal_transform_module} or \code{NULL}) optional, +if not \code{NULL}, decorator for tables or plots included in the module.} \item{alpha}{(\code{integer(1)} or \code{integer(3)}) optional, specifies point opacity. \itemize{ diff --git a/man/tm_a_regression.Rd b/man/tm_a_regression.Rd index 0326fd5f6..29399feae 100644 --- a/man/tm_a_regression.Rd +++ b/man/tm_a_regression.Rd @@ -19,7 +19,7 @@ tm_a_regression( default_plot_type = 1, default_outlier_label = "USUBJID", label_segment_threshold = c(0.5, 0, 10), - decorators = list(default = teal_transform_module()) + decorators = NULL ) } \arguments{ @@ -98,8 +98,8 @@ It takes the form of \code{c(value, min, max)} and it is passed to the \code{val argument in \code{teal.widgets::optionalSliderInputValMinMax}. }} -\item{decorators}{\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#experimental}{\figure{lifecycle-experimental.svg}{options: alt='[Experimental]'}}}{\strong{[Experimental]}} (\code{list} of \code{teal_transform_module}) optional, -decorator for tables or plots included in the module.} +\item{decorators}{\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#experimental}{\figure{lifecycle-experimental.svg}{options: alt='[Experimental]'}}}{\strong{[Experimental]}} (\code{list} of \code{teal_transform_module} or \code{NULL}) optional, +if not \code{NULL}, decorator for tables or plots included in the module.} } \value{ Object of class \code{teal_module} to be used in \code{teal} applications.