mam ten o nazwie Vector:Konwersja nazwie wektor do dataframe
x <- 1:5
names(x) <- c('0 15', '1 15', '2 15', '0 16', '1 16')
Jaki jest najlepszy sposób na konwersję x
do tego dataframe:
xDF <- data.frame(V1 = c(0, 1, 2, 0, 1), V2 = c(15, 15, 15, 16, 16), V3 = 1:5)