get_mrf: Extract a fitted MRF

get_mrfR Documentation

Extract a fitted MRF

Description

Extract a fitted MRF

Usage

get_mrf(object, ...)

## S3 method for class 'bam'
get_mrf(object, ...)

## S3 method for class 'gamm'
get_mrf(object, ...)

## S3 method for class 'list'
get_mrf(object, ...)

## S3 method for class 'gam'
get_mrf(object, term, ...)

Arguments

object

An object from which to extract the fitted MRF. Currently only for objects of classes gam, bam, and gamm, and GAMMs fitted by gamm4::gamm4().

...

Arguments passed to other methods.

term

character; the MRF term to extract. Can be a partial match to a term, which is matched against the smooth label.

Value

A object representing the fitted MRF


eric-pedersen/MRFtools documentation built on Jan. 28, 2024, 2:13 a.m.