Skip to content

Commit 8b72eac

Browse files
committed
remove mentions of rstan::read_stan_csv
1 parent 0e3a99a commit 8b72eac

9 files changed

+0
-56
lines changed

R/model.R

-5
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,6 @@
8585
#' # Plot posterior using bayesplot (ggplot2)
8686
#' mcmc_hist(fit_mcmc$draws("theta"))
8787
#'
88-
#' # For models fit using MCMC, if you like working with RStan's stanfit objects
89-
#' # then you can create one with rstan::read_stan_csv()
90-
#' # stanfit <- rstan::read_stan_csv(fit_mcmc$output_files())
91-
#'
92-
#'
9388
#' # Run 'optimize' method to get a point estimate (default is Stan's LBFGS algorithm)
9489
#' # and also demonstrate specifying data as a path to a file instead of a list
9590
#' my_data_file <- file.path(cmdstan_path(), "examples/bernoulli/bernoulli.data.json")

man/CmdStanModel.Rd

-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/cmdstan_model.Rd

-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/cmdstanr-package.Rd

-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/model-method-optimize.Rd

-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/model-method-pathfinder.Rd

-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/model-method-sample.Rd

-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/model-method-variational.Rd

-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vignettes/cmdstanr.Rmd

-16
Original file line numberDiff line numberDiff line change
@@ -326,22 +326,6 @@ CmdStan itself provides a `diagnose` utility that can be called using
326326
the `$cmdstan_diagnose()` method. This method will print warnings but won't return anything.
327327

328328

329-
### Create a `stanfit` object
330-
331-
If you have RStan installed then it is also possible to create a `stanfit`
332-
object from the csv output files written by CmdStan. This can be done by using
333-
`rstan::read_stan_csv()` in combination with the `$output_files()` method of the
334-
`CmdStanMCMC` object. This is only needed if you want to fit a model with
335-
CmdStanR but already have a lot of post-processing code that assumes a `stanfit`
336-
object. Otherwise we recommend using the post-processing functionality provided
337-
by CmdStanR itself.
338-
339-
```{r stanfit, eval=FALSE}
340-
stanfit <- rstan::read_stan_csv(fit$output_files())
341-
```
342-
343-
344-
345329
## Running optimization and variational inference
346330

347331
CmdStanR also supports running Stan's optimization algorithms and its algorithms

0 commit comments

Comments
 (0)