I have a dataframe where the row names need to be the first column and assigned a header. I would prefer not to use any packages, just base functions in R. Hoping for a one liner.
Input:
V1
Species1 31.76010
Species2 43.97335
Species3 40.29958
Desired output:
HeaderName V1
Species1 31.76010
Species2 43.97335
Species3 40.29958