setup_mbm_kernel: Set up MBM kernel

Description Usage Arguments

View source: R/make_mbm.r

Description

Set up MBM kernel

Usage

1
2
setup_mbm_kernel(dim, lengthscale = NULL, prior, sparse,
  which = c("all", "lengthscale", "variance"))

Arguments

dim

Kernel dimension (number of variables)

lengthscale

Lengthscale parameter as from [mbm()]. Either NULL (in which case all lengthscales will be optimized) or a numeric vector of length ncol(x)+1. If a vector, the first entry corresponds to environmental distance, and entries i = 1 + (1:n) correspond to the variable in x[,i]. Values must be NULL or positive numbers; if NULL, the corresponding lengthscale will be set via optimization, otherwise it will be fixed to the value given.

prior

Prior distribution to use; currently ignored

sparse

Logical, should a sparse GP be used?

which

Which parameters to set up, either all, variance params, or lengthscale


mtalluto/mbm documentation built on Aug. 13, 2019, 9:43 a.m.