I want to add an extra row above what is row 1 of the following dataframe (i.e. above the labels a, b and Percent):
a<-c(1:5)
b<-c(4,3,2,1,1)
Percent<-c(40,30,20,10,10)
df1<-data.frame(a,b,Percent)
These dataframes represent questions in an interview analysis I am doing, and I want to include the question descriptor above the row headers so I can easily identify which dataframe belongs to which question (i.e. "Age"). I have been using rbind to add rows, but is it possible to use this command above the row headers?
Thanks.