set_staninput: Set the input data from an ideal adaptor stanfit

View source: R/get-info-from-NIW-IA-stanfit.R

set_staninputR Documentation

Set the input data from an ideal adaptor stanfit

Description

Sets the inputs handed to stan or sampling during the creation of the ideal_adaptor_stanfit object.

Usage

set_staninput(x, ...)

## S3 method for class 'ideal_adaptor_stanfit'
set_staninput(
  x,
  staninput,
  which = c("untransformed", "transformed", "both")[3]
)

Arguments

x

ideal_adaptor_stanfit object.

staninput

A list with element names and structures determined by the type of stanfit model.

which

Should "transformed" or "untransformed" staninput be set or "both"? (default: '"both"')

Value

A list with element names and structures determined by the type of stanfit model.

An ideal_adaptor_stanfit object with the updated staninput.

See Also

TBD


hlplab/MVBeliefUpdatr documentation built on July 5, 2025, 6:42 a.m.