vis_nei: Visualize NCV neighbourhoods

View source: R/vis_nei.R

vis_neiR Documentation

Visualize NCV neighbourhoods

Description

Create a little plot showing what the neighbourhoods look like. The resulting plot has number of rows equal to the number of folds and number of columns equal to the number of data. Each tile is coloured according to whether it's in the set of dropped indices, prediction points or both.

Usage

vis_nei(nei)

Arguments

nei

a list of elements as required by mgcv::gam

Value

ggplot2 plot

Author(s)

David L Miller


dill/mgcvUtils documentation built on Oct. 14, 2024, 7:30 p.m.