checkTS: Check generated timeseries

Description Usage Arguments Examples

View source: R/checkTS.R

Description

Compares generated time series sample statistics with the theoretically expected values.

Usage

1
checkTS(TS, distbounds = c(-Inf, Inf))

Arguments

TS

generated timeseries

distbounds

distribution bounds (default set to c(-Inf, Inf))

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
library(CoSMoS)

## check your generated timeseries
x <- generateTS(margdist = 'burrXII',
                margarg = list(scale = 1,
                               shape1 = .75,
                               shape2 = .25),
                acsvalue = acs(id = 'weibull',
                               t = 0:30,
                               scale = 10,
                               shape = .75),
                n = 1000, p = 30, p0 = .5, TSn = 5)

checkTS(x)

CoSMoS documentation built on May 30, 2021, 1:06 a.m.