Learn R Programming

fable (version 0.0.0.9000)

new_fcdist: Create a forecast distribution object

Description

Create a forecast distribution object

Usage

new_fcdist(f, ..., transformation = ~.x, abbr = NULL)

Arguments

f

A distribution function producing quantiles (such as qnorm)

...

Arguments for f function

transformation

Transformation to be applied to resulting quantiles from f

abbr

Abbreviation for display purposes, defaults to the object name of f

Examples

Run this code
# NOT RUN {
mydist <- new_fcdist(qnorm, mean = rep(3, 10), sd = seq(0, 1, length.out=10),
 transformation = exp, abbr = "N")
mydist
hilo(mydist, 95)
# }

Run the code above in your browser using DataLab