predict_pgLM: Bayesian Polya-gamma regression prediction

View source: R/predict-pgLM.R

predict_pgLMR Documentation

Bayesian Polya-gamma regression prediction

Description

this function generates predictions from the Bayesian multinomial regression using Polya-gamma data augmentation

Usage

predict_pgLM(out, X_pred, n_cores = 1L)

Arguments

out

is a list of MCMC outputs from pgLM

X_pred

is a n_{pred} x p matrix of climate variables.

n_cores

is the number of cores for parallel computation using openMP.


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