From 901101506c4f1a00f209fdab5dd7aacc6633e5b0 Mon Sep 17 00:00:00 2001 From: Jonah Gabry Date: Tue, 18 Jul 2017 01:59:06 -0400 Subject: [PATCH] Fix doc for 'init' argument closes #434 --- rstan/rstan/man/stanmodel-method-optimizing.Rd | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rstan/rstan/man/stanmodel-method-optimizing.Rd b/rstan/rstan/man/stanmodel-method-optimizing.Rd index 0da42d704..3e9bbb173 100644 --- a/rstan/rstan/man/stanmodel-method-optimizing.Rd +++ b/rstan/rstan/man/stanmodel-method-optimizing.Rd @@ -48,7 +48,10 @@ \code{"12345"}, which is converted to integer.} \item{init}{Initial values specification. See the detailed documentation for - the init argument in \code{\link{stan}}.} + the \code{init} argument in \code{\link{stan}} with one exception. If specifying inits + using a list then only a single named list of values should be provided. + For example, to initialize a parameter \code{alpha} to \code{value1} and + \code{beta} to \code{value2} you can specify \code{list(alpha = value1, beta = value2)}.} \item{check_data}{Logical, defaulting to \code{TRUE}. If \code{TRUE} the data will be preprocessed; otherwise not.