Learn R Programming

pgam (version 0.3.3)

print.summary.pgam: Summary output

Description

Print output of model information

Usage

## S3 method for class 'pgam':
print.summary(x, digits, ...)

Arguments

x
object of class summary.pgam holding the fitted model information
digits
number of decimal places for output
...
further arguments passed to method

Value

  • No value is returned.

Details

This function actually only prints out the information.

See Also

pgam, predict.pgam

Examples

Run this code
library(pgam)
data(aihrio)
attach(aihrio)
form <- ITRESP5~f(WEEK)+HOLIDAYS+rain+PM+g(tmpmax,7)+g(wet,3)
m <- pgam(form,aihrio,omega=.8,beta=.01,maxit=1e2,eps=1e-4,optim.method="BFGS",partial.resid="response")

summary(m)

Run the code above in your browser using DataLab