Posts by lleom5 • 11 points
2 posts
-
1
votes1
answer55
viewsQ: Overwrite all data from a column of a data frame in R
Assuming I have the following data frame (just one example, as mine has almost 200,000 lines): ae <- c(1,2,3,4,5,6,7,8,9,10) be <- c(10,9,8,7,6,5,4,3,2,1) pnadc1 <- data.frame(ae,be) I need…
-
0
votes2
answers51
viewsQ: How to find out how many times a certain level is repeated in a specific column (factor) of a data.frame?
I am working with 4 data frames (W, X, Y and Z) that have the same number of variables. Factor (column/variable) 11 was classified into 3 different levels (1, 2, 3). I need to find out how many…