finalOneRun: Building local models in parallel for all the time points

Description Usage Arguments Examples

View source: R/finalOneRun.R

Description

Builds local models in parallel by detecting the number of cores (k) on the machine. This function builds models at tau time points parllely using all avialable cores.

Usage

1
2
finalOneRun(y, X, c_init, zeta_init, nusq_init, w_init, v0, a1, a2, q, Nmcmc,
  ind)

Arguments

y

binary response correspoding to n subjects

X

n x p x tau - tensor (EEG data) for n subjects, p locations and tau time points

c_init

initial value for c

zeta_init

initial values for ζ

nusq_init

initial values for ν^2

w_init

initial value for w - the complexity parameter

v0

hyperparameter v0

a1

hyperparameter a1

a2

hyperparameter a2

q

hyperparameter q

Nmcmc

number of MCMC samples to generate

ind

indices of MCMC samples to use after burnin ad thinning

Examples

1

shariq-mohammed/SpikeSlabEEG documentation built on July 21, 2020, 12:17 a.m.