Im looking to clean up my data so its more presentable. Is there anyway I can put the following data into a new df that contains 4 columns with the header of each being 'data' 'predicted' 'krige.var' ' error'
df
$data
[1] 15.4 20.0 18.5 8.2 19.9 17.1 22.1 17.4 18.6 15.0 17.3 16.1 20.3 18.6 12.4 20.8 19.2 19.6 13.8 19.3
$predicted
[1] 14.63828 19.99015 19.55968 17.31891 19.58819 17.12238 20.12373 17.54724 18.31672 15.16020 17.13020 13.54384 19.67269 17.6722 [15] 13.19682 19.62094 18.23890 19.02463 11.40030 19.65951
$krige.var
[1] 5.564853 5.005181 6.331402 4.690094 5.533664 4.766348 5.239515 4.939733 4.981795 4.907894 4.675788 5.279128 5.432717 4.95924 [15] 7.305362 4.994287 4.736674 4.786049 6.854661 4.876816
$error
[1] 0.761718919 0.009853859 -1.059682833 -9.118905118 0.311806163 -0.022383898 1.976266345 -0.147244475 0.283278859 -0.160198526 0.169802131 2.556161906 0.627305499 0.927774475 -0.796824408 1.179064489 0.961096163 0.575366428 2.399697891 -0.359506555