I have dataframe with columns:
(Intercept) population urbanisation density temperature h_dev_index
0 0 0 0 0 0
also I have vector of numbers: k_koef
(Intercept) population urbanisation density
-5.731845e-01 5.027081e-03 1.362376e-02 -4.130975e-04
I need to join one column to another:
(Intercept) population urbanisation density temperature h_dev_index
0 0 0 0 0 0
-5.731845e-01 5.027081e-03 1.362376e-02 -4.130975e-04 NA NA
How should I solve my problem?
question from:https://stackoverflow.com/questions/65915285/joining-vector-to-dataframe-in-r