Create a key-value dictionary
dict.Rd
Keys must be valid
Examples
d <- dict(a=5, b=10)
d$b
#> $b
#> [1] 10
#>
d <- data.frame(letters[1:10], 1:10) |>
dict()
d$f
#> [1] 6
dict.Rd
Keys must be valid
d <- dict(a=5, b=10)
d$b
#> $b
#> [1] 10
#>
d <- data.frame(letters[1:10], 1:10) |>
dict()
d$f
#> [1] 6