How to add a row to a data frame in R?

Let’s make it simple:

df[nrow(df) + 1,] = c("v1","v2")

Leave a Comment