Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mrparker909/rdict

R package implementing a Dictionary data structure.
https://github.com/mrparker909/rdict

Last synced: 8 days ago
JSON representation

R package implementing a Dictionary data structure.

Awesome Lists containing this project

README

        

# rdict
R package implementing a Dictionary data structure.

# Install Instructions

```{r}
devtools::install_github("mrparker909/rdict")
```

# Example Use

```{r}
# create a dictionary called myDict
myDict = Dictionary()

# add the key/value pair (key1, 1) to myDict
myDict = Add(myDict, "key1", 1)

# check that key1 exists in myDict
ContainsKey(myDict, "key1")

# get the value stored at key1
GetValue(myDict, "key1")

# remove key1 from myDict
myDict = RemoveKey(myDict, "key1")
```