Geom_bar (stat = "identity", position = "dodge" ) + Ggplot (data_barplot, aes (Category, Count, fill = missingness ) ) + # Create plot ![]() frame (missingness, Category, Count ) # Combine data for plot numeric (table (vec_imp ) ) ) # Count of categoriesÄata_barplot <- data. factor (rep (names (table (vec ) ), 2 ) ) # CategoriesĬount <- c ( as. ![]() Missingness <- c (rep ( "No Missings", 6 ), rep ( "Post Imputation", 6 ) ) # Pre/post imputationĬategory <- as.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |