summarize_longitudinal_bsrm_results: Organize Stan output and provide summaries of model...

View source: R/summarize_longitudinal_bsrm_results.R

summarize_longitudinal_bsrm_resultsR Documentation

Organize Stan output and provide summaries of model parameters for longitudinal models

Description

This is a function to organize Stan output and provide summaries of key model parameters

Usage

summarize_longitudinal_bsrm_results(
  input,
  include_samples = TRUE,
  HPDI = 0.9,
  quiet = FALSE
)

Arguments

input

A STRAND model object obtained by fitting a longitudinal combined stochastic block and social relations model.

include_samples

An indicator for the user to specify where raw samples, or only the summary statistics should be returned. Samples can take up a lot of space.

HPDI

Highest Posterior Density Interval. Ranges in (0,1).

quiet

If TRUE, then results aren't printed.

Value

A STRAND results object including summary table, a summary list, and samples.

Examples

## Not run: 
res = summarize_longitudinal_bsrm_results(input = fit)

## End(Not run)


ctross/STRAND documentation built on Dec. 15, 2024, 6:02 a.m.