project_field: Project random effects, reshape to array

View source: R/field_plots.R

project_fieldR Documentation

Project random effects, reshape to array

Description

Useful for projecting multiple-year random effects to grids for plotting with image.

Usage

project_field(parvec, proj, dim)

Arguments

parvec

Parameter vector (coerced to vector)

proj

Projection matrix

dim

Output array dimensions (typically c(s1, s2, nyears))

Value

Array of dims dim

Author(s)

John K Best


jkbest2/spatq documentation built on Sept. 22, 2022, 3:22 a.m.