responseSummary: Retrieve a summary statistic of the response variable

View source: R/mcmcInternals.R

responseSummaryR Documentation

Retrieve a summary statistic of the response variable

Description

A small utility function to retrieve a particular summary of the response variable to help initialise set the MCMC in regression models

Usage

responseSummary(..., summaryFunc)

Arguments

...

Parameters passed to the link{processModelFormula} function for retrieval of the relevant parameters and data. Parameters are also passed to the summary function.

summaryFunc

A function to apply to the response variable

Value

A numeric scalar with the summary statistic of the response variable

Author(s)

Joseph D. Chipperfield, joechip90@googlemail.com


joechip90/PaGAn documentation built on April 17, 2025, 4:05 p.m.