Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

R2BayesX-package

Estimate STAR Models with BayesX


Description

This package interfaces the BayesX (http://www.BayesX.org) command-line binary from R. The main model fitting function is called bayesx.

Before STAR models can be estimated, the command-line version of BayesX needs to be installed, which is done by installing the R source code package BayesXsrc. Please see function bayesx and bayesx.control for more details on model fitting and controlling.

The package also provides functionality for high level graphics of estimated effects, see function plot.bayesx, plot2d, plot3d, plotblock, plotmap, plotsamples and colorlegend.

More standard extractor functions and methods for the fitted model objects may be applied, e.g., see function summary.bayesx, fitted.bayesx, residuals.bayesx, samples, plot.bayesx, as well as AIC, BIC etc., please see the examples of the help sites. Predictions for new data based on refitting with weights can be obtained by function predict.bayesx.

In addition, it is possible to run arbitrary BayesX program files using function run.bayesx. BayesX output files that are stored in a directory may be read into R calling function read.bayesx.output.

Author(s)

Nikolaus Umlauf, Thomas Kneib, Stefan Lang, Achim Zeileis.

Examples

## to see the package demos
  demo(package = "R2BayesX")

R2BayesX

Estimate Structured Additive Regression Models with 'BayesX'

v1.1-1
GPL-2 | GPL-3
Authors
Nikolaus Umlauf [aut, cre], Thomas Kneib [aut], Stefan Lang [aut], Achim Zeileis [aut] (0000-0003-0918-3766)
Initial release
2017-12-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.