Posts by Bernardo • 191 points
2 posts
-
6
votes3
answers19175
viewsA: How to calculate the average of a column in R?
Extending the answer from @Raphael Nishimura: If the goal is to average all the columns of the date.frame dados, instead of using a command for each of the columns as in: mean(dados$V1)…
-
2
votes2
answers513
viewsA: Survey and count package
I don’t know the package survey, but I like to stick to the basic R functions to solve any problem before resorting to an extra package. Since you have not provided data as an example, I will use…