From eff8cccdb189c28bac552ceb2bbf6a6b28f6a080 Mon Sep 17 00:00:00 2001 From: Sebastian Funk Date: Wed, 8 May 2024 10:38:53 +0100 Subject: [PATCH] backtick escape stanfit object Closes #661. --- R/extract.R | 2 +- man/extract_samples.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/extract.R b/R/extract.R index dc6e0d44d..bd0a2d812 100644 --- a/R/extract.R +++ b/R/extract.R @@ -55,7 +55,7 @@ extract_static_parameter <- function(param, samples) { #' Extract all samples from a stan fit #' -#' If the `object` argument is a object, it simply returns the result +#' If the `object` argument is a `` object, it simply returns the result #' of [rstan::extract()]. If it is a `` it returns samples #' in the same format as [rstan::extract()] does for `` objects. #' @param stan_fit A `` or `` object as returned by diff --git a/man/extract_samples.Rd b/man/extract_samples.Rd index dc6f4653f..1b06e9168 100644 --- a/man/extract_samples.Rd +++ b/man/extract_samples.Rd @@ -19,7 +19,7 @@ extract_samples(stan_fit, pars = NULL, include = TRUE) List of data.tables with samples } \description{ -If the \code{object} argument is a \if{html}{\out{}} object, it simply returns the result +If the \code{object} argument is a \verb{} object, it simply returns the result of \code{\link[rstan:stanfit-method-extract]{rstan::extract()}}. If it is a \verb{} it returns samples in the same format as \code{\link[rstan:stanfit-method-extract]{rstan::extract()}} does for \verb{} objects. }