summary.gamtree: Summary method for a fitted GAM tree

View source: R/gamtree.R

summary.gamtreeR Documentation

Summary method for a fitted GAM tree

Description

Prints a summary of the local and/or global terms in a fitted GAM tree.

Usage

## S3 method for class 'gamtree'
summary(object, ...)

Arguments

object

object of class gamtree.

...

further arguments to be passed to summary.gam.

Warning

The printed results by default also provide standard error and significance tests. These should be taken with a big grain of salt, because they do NOT account for the searching of the tree structure; they assume the tree structure was known in advance. They thus should be interpreted as overly optimistic and with caution.

Examples

## GAM tree without global terms:
gt <- gamtree(Pn ~ s(PAR, k = 5L) | Species, data = eco, cluster = Specimen)
summary(gt)

marjoleinF/gamtree documentation built on July 3, 2024, 9:18 a.m.