Constructs observation/prediction weight matrices for metric graph models.
graph_spde_basis(graph_spde, repl = NULL, drop_na = FALSE, drop_all_na = TRUE)The observation matrix.
An inla_metric_graph_spde object built with the
graph_spde() function.
Which replicates? If there is no replicates, or to
use all replicates, one can set to NULL.
Should the rows with at least one NA for one of the columns be removed? DEFAULT is FALSE.
Should the rows with all variables being NA be removed? DEFAULT is TRUE.