nXplain | R Documentation |
The function identifies the number of modes needed to explain a certain amount of variance within the response field.
## S4 method for signature 'EotStack'
nXplain(x, var = 0.9)
x |
an EotStack |
var |
the minimum amount of variance to be explained by the modes |
an integer denoting the number of EOTs needed to explain var
This is a post-hoc function. It needs an EotStack
created as returned by 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.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.