Learn R Programming

FlexReg (version 1.3.1)

summary.flexreg: Methods for `flexreg` Objects

Description

Methods for extracting information from fitted regression model objects of class `flexreg`.

Usage

# S3 method for flexreg
summary(object, ..., digits = 4)

# S3 method for summary.flexreg print(x, ...)

# S3 method for flexreg coef(object, ...)

Arguments

object

an object of class `flexreg`, usually the result of flexreg or flexreg_binom functions.

...

additional arguments. Currently not used.

digits

an integer indicating the number of decimal places. Default equal to 4.

x

an object of class `summary.flexreg`.

Details

The summary.flexreg method summarizes the results of flexreg and flexreg_binom functions, adding also information from the functions residuals.flexreg and WAIC. The summary.flexreg method returns an object of class `summary.flexreg` containing the relevant summary statistics which can subsequently be printed using the associated print.summary.flexreg method.

Examples

Run this code
if (FALSE) {
data("Reading")
FB <- flexreg(accuracy.adj ~ iq, data = Reading, n.iter = 1000)
summary(FB)
}


Run the code above in your browser using DataLab