Learn R Programming

PNAR (version 1.7)

summary.PNAR: S3 methods for extracting the results of the estimation functions

Description

S3 methods for extracting the results of the estimation functions.

Usage

# S3 method for PNAR
summary(object, ...)
# S3 method for summary.PNAR
print(x, ...)
# S3 method for PNAR
print(x, ...)

Value

The print.PNAR() function prints the coefficients of the model. The summary.PNAR() function prints the output in the lm() style.

Arguments

object

An object containing the results of the estimation function lin_estimnarpq or log_lin_estimnarpq.

x

An object containing the results of the estimation function lin_estimnarpq or log_lin_estimnarpq.

...

Extra arguments the user can pass.

Author

Mirko Armillotta, Michail Tsagris and Konstantinos Fokianos.

Details

These functions print the output of the estimation functions.

References

Armillotta, M., Tsagris, M. and Fokianos, K. (2024). Inference for Network Count Time Series with the R Package PNAR. The R Journal, 15/4: 255--269.

See Also

log_lin_estimnarpq

Examples

Run this code
data(crime)
data(crime_W)
mod1 <- lin_estimnarpq(crime, crime_W, p = 2)
mod1
print(mod1)
summary(mod1)

Run the code above in your browser using DataLab