print.ordregr: Print an 'ordregr' or an 'ordgam' object.

View source: R/S3_ordregr_print.R

print.ordregrR Documentation

Print an 'ordregr' or an 'ordgam' object.

Description

Print a summary of the information contained in an ordregr.object or ordgam.object generated by ordregr or ordgam.

Usage

## S3 method for class 'ordregr'
print(x, expEst, ...)

Arguments

x

An ordregr.object generated by ordregr or ordgam.

expEst

Logical indicating if the exponential of the regression coefficients should be printed (Default: TRUE)

...

Possible additional printing options.

Value

Print summary statistics.

Author(s)

Philippe Lambert p.lambert@uliege.be

References

Lambert, P. and Gressani, 0. (2023) Penalty parameter selection and asymmetry corrections to Laplace approximations in Bayesian P-splines models. Statistical Modelling. <doi:10.1177/1471082X231181173>. Preprint: <arXiv:2210.01668>.

See Also

ordregr, ordgam

Examples

library(ordgam)
data(freehmsData)
mod = ordgam(freehms ~ gndr + s(eduyrs) + s(age),
             data=freehmsData, descending=TRUE)
print(mod)
plot(mod)


ordgam documentation built on Sept. 14, 2023, 5:07 p.m.