formula.grid: Extracts the formula from a 'grid' object.

View source: R/print_mcmlrts.R

formula.gridR Documentation

Extracts the formula from a grid object.

Description

Extracts the formula from a rtsFit object stored in a grid object. Only returns the top level formula. For region models this is the formula at the region level, otherwise the grid-level formula is returned. No random effects specifications are included in the returned formula.

Usage

## S3 method for class 'grid'
formula(x, ...)

Arguments

x

A grid object.

...

Further arguments passed from other methods

Value

A formula object.


rts2 documentation built on Jan. 21, 2026, 1:07 a.m.