Learn R Programming

remote (version 1.2.3)

nXplain: Number of EOTs needed for variance explanation

Description

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

Usage

# S4 method for EotStack
nXplain(x, var = 0.9)

Value

an integer denoting the number of EOTs needed to explain var

Arguments

x

an EotStack

var

the minimum amount of variance to be explained by the modes

Examples

Run this code
data(vdendool)

nh_modes <- eot(x = vdendool, y = NULL, n = 3, 
                standardised = FALSE, 
                verbose = TRUE)
             
### How many modes are needed to explain 25% of variance?              
nXplain(nh_modes, 0.25)

Run the code above in your browser using DataLab