Description Usage Arguments Value Examples
View source: R/pca_functions.R
Given a matrix, calculate ICP rules for the number of common factors
1 | icpx(X)
|
X |
A matrix |
A list of factor numbers calculated using icp rules.
1 2 3 4 | asm <- fakedata::fake_panel(N = 50, T = 10, missing = 0.1)
asm <- asm %>% rename(industry = I, g_i = g) %>% add_weights() %>% balance_panel(id, year)
X <- get_matrix(asm)
icpx(X)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.