![]() ![]() #- Get the eigenvalues (and Proportion of Variance) summary(assets_pca) # Importance of components: ![]() # water_Piped to local source 0.02 0.42 0.20 #- Convert the remaining data into numeric variables for analysisĬols % select(electricity, radio, tv, fridge, car, toilet) %>% mutate_all(as.numeric) - 1 #- Bind the dummy columns back together with the other variables Dummies % select(water, floor, wall, roof) %>% dummy_cols() %>% select(- c(water, floor, wall, roof)) ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |