Learn R Programming

rts2 (version 0.10.2)

formula.grid: 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 grid
formula(x, ...)

Value

A formula object.

Arguments

x

A grid object.

...

Further arguments passed from other methods