DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR R
how to write dictionary in R
sounds
<-
c
(
"cat"
=
"meow"
,
"dog"
=
"woof"
,
"horse"
=
"neigh"
)
cat_sound
<-
sounds
[
"cat"
]
print
(
cat_sound
)
Source by chryswoods.com #
PREVIOUS
NEXT
Tagged:
#write
#dictionary
#R
ADD COMMENT
Topic
COMMENT
Name
5+8 =
Submit