sample_fixed_effect {BayesGP}R Documentation

Extract the posterior samples from the fitted model for the target fixed variables.

Description

Extract the posterior samples from the fitted model for the target fixed variables.

Usage

sample_fixed_effect(model_fit, variables)

Arguments

model_fit

The result from model_fit().

variables

A vector of names of the target fixed variables to sample.

Value

A matrix with columns being the posterior samples of the target fixed effect variables.


[Package BayesGP version 0.1.3 Index]