eempf_varimp: Calculate the importance of each component.

Description Usage Arguments Details Value Examples

Description

Calculate the importance of each component.

Usage

1
2
3
4
5
6

Arguments

pfmodel

model of class parafac

eem_list

eemlist used to calculate that model

cores

cores to be used for the calculation

...

other aruments passed to eem_parafac

Details

The importance of each variable is calculated by means of creating a model without a specific component and calculating the difference between the original R-squared and the one with the left out component. The derived values state the loss in model fit if one component is not used in the modeling process. For the creation of the new models, the exact components of the original model are used.

Value

numeric vector, values are in the same order of the components in the supplied model.

Examples

1
2
3
4
data(pfmodel)
data(eem_list)

eempf_varimp(pf4[[1]], eem_list, cores = 2)

staRdom documentation built on Oct. 8, 2021, 5:07 p.m.