Posts by Lincoln Linhares • 9 points
2 posts
-
-2
votes1
answer38
viewsQ: I would like to leave the data.frame without repeated elements used this code:
f<- c("Juca", "Sam", "Ze", "Anta", "Buddy", "Irma") f<- sample(f, 3, FALSE) a<- c("Juca", "Silas", "Ze", "Ziraldo", "bar", "Ramister", "Luizinho") a<- sample(a, 3,…
-
-1
votes2
answers81
viewsA: ggplot appears empty: data does not appear
ggplot(det_id, aes(x = ID, y = Freq)) + geom_bar(stat = "identity") + scale_x_discrete(limits = c("Ana", "Boca", "Joana", "Cabelo", "Fabiane", "Manu")) + labs(x = "Nomes dos…