| bm_matrix | R Documentation |
Create a matrix mapper, for a given number of columns
bm_matrix(labels)
bru_mapper_matrix(...)
## S3 method for class 'bm_matrix'
ibm_n(mapper, ...)
## S3 method for class 'bm_matrix'
ibm_values(mapper, ...)
## S3 method for class 'bm_matrix'
ibm_jacobian(mapper, input, state = NULL, inla_f = FALSE, ...)
labels |
Column labels for matrix mappings; Can be factor, character, or a single integer specifying the number of columns for integer column indexing. |
... |
Arguments passed on to other methods |
mapper |
A mapper S3 object, inheriting from |
input |
Data input for the mapper. |
state |
A vector of latent state values for the mapping,
of length |
inla_f |
logical; when |
bru_mapper, bru_mapper_generics
Other mappers:
bm_aggregate(),
bm_collect(),
bm_const(),
bm_factor(),
bm_fmesher(),
bm_harmonics(),
bm_index(),
bm_linear(),
bm_logsumexp(),
bm_marginal(),
bm_mesh_B(),
bm_multi(),
bm_pipe(),
bm_repeat(),
bm_scale(),
bm_shift(),
bm_sum(),
bm_taylor(),
bru_get_mapper(),
bru_mapper(),
bru_mapper.fm_mesh_1d(),
bru_mapper.fm_mesh_2d(),
bru_mapper_generics
m <- bm_matrix(labels = c("a", "b"))
ibm_values(m)
ibm_eval2(m, input = matrix(1:6, 3, 2), state = 2:3)
m <- bm_matrix(labels = 2L)
ibm_values(m)
ibm_eval2(m, input = matrix(1:6, 3, 2), state = 2:3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.