Posts by Glaucio Lima • 1 point
1 post
-
0
votes1
answer40
viewsA: How to insert a marker that grows numerically into a dataframe in R?
Hello, You can make one like this: for(j in 1:dim(seu dataframe)[1]){ seu dataframe[j,]$posicao <- paste0("cod",j) j=j+1 } this function will concatenate the word Cod with the counter... will be…