trendbreaker-accessors: Accessors for trendbreaker objects

Description Usage Arguments Details Author(s)

Description

These functions can be used to access information stored in trendbreaker objects. See details.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## S3 method for class 'trendbreaker'
get_model(x, ...)

## S3 method for class 'trendbreaker'
get_formula(x, ...)

## S3 method for class 'trendbreaker'
get_response(x, ...)

## S3 method for class 'trendbreaker'
get_k(x, ...)

## S3 method for class 'trendbreaker'
get_results(x, ...)

## S3 method for class 'trendbreaker'
get_outliers(x, ...)

## S3 method for class 'trendbreaker'
predict(object, newdata, alpha = 0.05, ...)

## S3 method for class 'trendbreaker_incidence2'
x[i]

Arguments

x

an trendbreaker object, as returned by asmodee

...

further arguments passed to other methods

object

an trendbreaker object, as returned by asmodee

newdata

a data.frame containing data for which predictions are to be derived

alpha

the alpha threshold to be used for prediction intervals, defaulting to 0.05, i.e. 95% prediction intervals are derived

i

a subset of dates to retain

Details

The following accessors are available:

Author(s)

Thibaut Jombart, Dirk Schumacher


reconhub/epichange documentation built on April 8, 2021, 3:45 a.m.