diff --git a/R/R/utilities.R b/R/R/utilities.R index 1c66d3a..85cd322 100644 --- a/R/R/utilities.R +++ b/R/R/utilities.R @@ -8,7 +8,7 @@ #' on \code{y} of a unit increase in the regressor. For multiplicative regressors, #' the incremental impact is equal to \code{trend(t)} multiplied by the coefficient. #' -#' \textbf{Coefficients are measured on the original scale of the training data.} +#' Coefficients are measured on the original scale of the training data. #' #' @param m Prophet model object, after fitting. #' @@ -50,7 +50,7 @@ regressor_coefficients <- function(m){ coefs <- betas * y_scale_indicator / regr_stds percentiles = c((1 - m$interval.width) / 2, 1 - (1 - m$interval.width) / 2) - bounds <- apply(betas, 2, quantile, probs = percentiles) + bounds <- apply(betas, 2, stats::quantile, probs = percentiles) df <- data.frame( regressor = regr_names, diff --git a/R/man/regressor_coefficients.Rd b/R/man/regressor_coefficients.Rd index 6428898..6065c67 100644 --- a/R/man/regressor_coefficients.Rd +++ b/R/man/regressor_coefficients.Rd @@ -16,7 +16,7 @@ regressor_coefficients(m) Dataframe with one row per regressor. } \description{ -\textbf{Coefficients are measured on the original scale of the training data.} +Coefficients are measured on the original scale of the training data. } \details{ Output dataframe columns: