Learn R Programming

remote (version 1.2.1)

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

"nXplain"(x, var = 0.9)

Arguments

x
an EotStack
var
the minimum amount of variance to be explained by the modes

Value

an integer denoting the number of EOTs needed to explain var

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