Skip to contents

Compile and sample with cmdstanr

Usage

stan(stan_file, data, refresh = 250, ...)

Arguments

stan_file

String. Stan file path.

data

List. Data list.

seed

Integer. Random seed passed to cmdstanr's $sample().

Value

A CmdStanFit object.