default_inits_pgSPLM: Initialized default initial conditions

View source: R/default-inits.R

default_inits_pgSPLMR Documentation

Initialized default initial conditions

Description

A function for setting up the default pgSPLM priors

Usage

default_inits_pgSPLM(
  Y,
  X,
  priors,
  corr_fun = "exponential",
  shared_covariance_params = TRUE
)

Arguments

Y

is a n x d matrix of multinomial count data.

X

is a n x p matrix of variables.

priors

is a list of prior settings.

corr_fun

is a character that denotes the correlation function form. Current options include "matern" and "exponential".

shared_covariance_params

is a logical input that determines whether to fit the spatial process with component specifice parameters. If TRUE, each component has conditionally independent Gaussian process parameters theta and tau2. If FALSE, all components share the same Gaussian process parameters theta and tau2.


jtipton25/pgR documentation built on July 8, 2022, 12:44 a.m.