Named vector can be created in several ways. With c:
xc <- c('a' = 5, 'b' = 6, 'c' = 7, 'd' = 8)
which results in:
> xc
a b c d
5 6 7 8
with list:
xl <- list('a' = 5, 'b' = 6, 'c' = 7, 'd' = 8)
which results in:
> xl
$a
[1] 5
$b
[1] 6
$c
[1] 7
$d
[1] 8
Wi...