Alpha: Constructs alpha prior

Description Usage Arguments Value

View source: R/data.R

Description

The Alpha constructure function returns an R6 Alpha_ class which feeds sanitised prior or initialisation values for alpha into the model.

Usage

1
Alpha(data, alpha, source, time = NULL, location = NULL)

Arguments

data

long-format data.frame containing Dirichlet prior hyperparameter, source, time, and location columns

alpha

name of hyperparameter column

source

name of source column

time

name of optional time column

location

name of optional location column

Value

An Alpha_ data structure for use in sourceR models


sourceR documentation built on Aug. 31, 2020, 5:06 p.m.

Related to Alpha in sourceR...