make_heterogeneity_data: Prepare heterogeneity data

View source: R/plot_heterogeneity.R

make_heterogeneity_dataR Documentation

Prepare heterogeneity data

Description

Internal function to prepare data for heterogeneity plots

Usage

make_heterogeneity_data(x, term, xvar)

Arguments

x

Object returned by metagam.

term

Character specifying which smooth term to plot. Defaults to NULL; if x was fitted with a single term, this one is taken.

Value

data.frame


metagam documentation built on Aug. 11, 2025, 1:07 a.m.