basicstan: Basic Stan

View source: R/basicstan.R

basicstanR Documentation

Basic Stan

Description

A basic Bayesian model estimating a population mean

Usage

basicstan(chains = 3, warmup = 1000, iter = 5000, html = FALSE)

Arguments

chains

The number of MCMC chains of simulation

warmup

How many iterations to throw away

iter

The total number of iterations

html

TRUE if you want to see a browser interface

Details

Please check the STAN site for documentation

Value

An MCMC object

STAN

This function will start a STAN instance creating a STAN object which can be viewed using other packages.

Examples

## Not run:  basicstan()

MATHSTATSOU/Intro2R documentation built on Feb. 20, 2025, 6:18 a.m.