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 May 31, 2023, 6:43 p.m.