Looping sobre o dicionário R
sounds <- c(
"cat"="meow",
"dog"="woof",
"horse"="neigh"
)
for (thing in sounds){
print(thing)
}
Asir In Tisar
sounds <- c(
"cat"="meow",
"dog"="woof",
"horse"="neigh"
)
for (thing in sounds){
print(thing)
}