Learn R Programming

The profoc Package

An R package for probabilistic forecast combination

The primary function online can be used to combine probabilistic forecasts using the CRPS learning algorithm introduced in Berrisch, Ziel (2021): Pre-Print, Publication. The function batch can be used in a similar way for batch optimization. Common methods like summary, print, plot, update, and predict are available.

Installation

Install from CRAN

You can install the latest stable release from CRAN using:

install.packages("profoc")

Install from GitHub

You can install the latest stable release from GitHub using:

# install.packages("remotes")
remotes::install_github("BerriJ/profoc")

You can install the latest development version from GitHub using:

# install.packages("remotes")
remotes::install_github("BerriJ/profoc@develop")

Documentation

You can find the documentation at profoc.berrisch.biz.

Contributions and Issues

Feel free to raise an issue if you find something not working properly.

You are very welcome to contribute to profoc. Please base your pull requests on the develop branch.

License

GNU General Public License (≥ 3)

Copy Link

Version

Install

install.packages('profoc')

Monthly Downloads

425

Version

1.3.4

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Jonathan Berrisch

Last Published

January 23rd, 2026

Functions in profoc (1.3.4)

update.online

Update method for online models
tidy.online.forecaster_loss

Tidy the Experts' losses of an Online object
reexports

Objects exported from other packages
splines2_basis

Create B-Spline basis
tidy.online.predictions

Tidy the Predictions of an Online object
print.online

Print method for online models
profoc-package

Package Info
make_knots

Create a vector of knots for splines
autoplot.batch

Autoplot method for batch models
oracle

Probabilistic Forecast Combination - Oracle
batch

Probabilistic Forecast Combination - Batch
init_experts_list

Create experts list to be used in conline class
online

Probabilistic Forecast Combination - Online
conline

Create an conline Object from the conline C++ Class
autoplot.online

Autoplot method for online models
make_hat_mats

Create a List of Hat Matrices
make_basis_mats

Create a List of Basis Matrices
print.batch

Print method for batch models
predict.online

Predict method for online models
plot.online

Plot method for online models
post_process_model

Post Process Data from conline Class
penalty

B-Spline penalty
plot.batch

Plot method for batch models
tidy.online.experts_loss

Tidy the Experts' losses of an Online object
tidy.online.weights

Tidy the Weights of an Online object
summary.online

Summary method for online models