nEot4Var: Number of EOTs needed for variance explanation

Description Usage Arguments Value Note Examples

View source: R/nEot4Var.R

Description

The function identifies the number of modes needed to explain a certain amount of variance within the response series.

Usage

1
nEot4Var(eot.obj, var = 0.9)

Arguments

eot.obj

the object returned by eot

var

the minimum amount of variance explained by the modes

Value

an integer denoting the number of EOTs needed to explain var

Note

This is a post-hoc function like plotEot and plotLocations. This means that it needs an object which was created with eot. Depending on the potency of the identified EOTs, it may be necessary to compute a high number of modes in order to be able to explain a large enough part of the variance

Examples

1
2
3
4
5
6
7
data(vdendool)

modes <- eot(pred = vdendool, resp = NULL, n = 5, reduce.both = FALSE,
             standardised = FALSE, print.console = TRUE)

### How many modes are needed to explain 40% of variance?
nEot4Var(modes, 0.4)

environmentalinformatics-marburg/Reot documentation built on May 13, 2017, 6:09 p.m.