Learn R Programming

cosmic (version 0.5)

summary.cosmic_fit: Print and summarize a COSMIC fit

Description

Methods for inspecting fitted objects of class "cosmic_fit". print() shows a compact posterior summary for the main model parameters, while summary() returns the full summary matrix from the underlying CmdStan fit object.

Usage

# S3 method for cosmic_fit
print(x, ...)

# S3 method for cosmic_fit summary(object, ...)

Value

print.cosmic_fit() returns x invisibly.

summary.cosmic_fit() returns the summary matrix produced by the underlying fit summary method.

Arguments

x

A fitted object of class "cosmic_fit".

...

Additional arguments passed to the underlying method.

object

A fitted object of class "cosmic_fit".