generate_empty_projection: Generate an empty project matrix

View source: R/inla_spde.R

generate_empty_projectionR Documentation

Generate an empty project matrix

Description

When spatial or spatiotemporal effects are map'd to zero, pass an empty projection matrix. Not exported, use zero = TRUE in generate_projection instead.

Usage

generate_empty_projection(mesh, data_df, group = NULL)

Arguments

mesh

INLA mesh to project

data_df

Data frame with s1 and s2 columns as coordinates to project to

group

Year of observation for spatiotemporal effect

Value

Sparse Matrix::Matrx of the appropriate dimensions, but filled with zeros

Author(s)

John Best


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