vectorized-hash-ops {tictactoe} | R Documentation |
Vectorized Hash Operations
haskeys(x, ...)
setvalues(x, ...)
getvalues(x, ...)
## S3 method for class 'xhash'
getvalues(x, states, ...)
## S3 method for class 'xhash'
setvalues(x, states, values, ...)
## S3 method for class 'xhash'
haskeys(x, states, ...)
x |
object |
... |
additional arugments to determine the keys |
states |
state object |
values |
values to assign |
haskeys
returns a logical vector
setvalues
returns a reference to the object
getvalues
returns a list of values