search for: pfahlert

Displaying 1 result from an estimated 1 matches for "pfahlert".

Did you mean: pcalert
2011 Oct 19
1
using a dictionary in R
Hi all, Is there a way to create a "dictionary" in R, such that it has <key,value> pairs? Something to the effect of: x=dictionary(c("Hi","Why","water") , c(1,5,4)) x["Why"]=5 In truth I'm looking two categorial variables function. So that if x=dictionary(c("a","b"),c(5,2)) x val 1 a 5 2 b 2 I want to compute