So i currently have a dataframe in R where:
degree
54 0.65
43 0.76
31 0.67
and by executing:
df[1]
it prints out the first row:
54 0.65
I'm trying to assign a column name to the first column, where i get:
vertex degree
54 0.65
43 0.76
31 0.67
So i can query the dataframe column separately:
df$vertex
df$degree
Is there any possible ways i could do this?