Advertisement
Guest User

Untitled

a guest
Jan 14th, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
R 0.32 KB | None | 0 0
  1. # Zadanie 4
  2. library(factoextra)
  3.  
  4. #tabela kontyngnencji???
  5. model.ca <- ca::ca(housetasks)
  6. model.ca$rowcoord %>%
  7.   as_tibble() %>%
  8.   ggplot(aes(x = Dim1, y = Dim2, label = rownames(housetasks))) +
  9.   geom_text(col = 'red') +
  10.   geom_text(data = as_tibble(model.ca$colcoord), aes(label = colnames(housetasks)), col = 'blue')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement