Ajout d'une nouvelle clé dans le dictionnaire R
sounds <- c(
"cat"="meow",
"dog"="woof",
"horse"="neigh"
)
sounds["cow"] <- "moo"
print(sounds)
Asir In Tisar
sounds <- c(
"cat"="meow",
"dog"="woof",
"horse"="neigh"
)
sounds["cow"] <- "moo"
print(sounds)