Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

adding new key in R dictionary

sounds <- c(
    "cat"="meow",
    "dog"="woof",
    "horse"="neigh"
)

sounds["cow"] <- "moo"

print(sounds)
Source by chryswoods.com #
 
PREVIOUS NEXT
Tagged: #adding #key #R #dictionary
ADD COMMENT
Topic
Name
7+1 =