Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/mrparker909/rdict
- Owner: mrparker909
- License: mit
- Created: 2022-02-17T22:22:23.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-18T02:53:02.000Z (almost 3 years ago)
- Last Synced: 2024-08-13T07:11:30.602Z (4 months ago)
- Language: R
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - mrparker909/rdict - R package implementing a Dictionary data structure. (R)
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")
```