https://github.com/mtpatter/nb2
neighbor-based bootstrapping algorithm
https://github.com/mtpatter/nb2
Last synced: 10 days ago
JSON representation
neighbor-based bootstrapping algorithm
- Host: GitHub
- URL: https://github.com/mtpatter/nb2
- Owner: mtpatter
- License: apache-2.0
- Created: 2015-11-25T07:49:14.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-25T16:00:28.000Z (about 10 years ago)
- Last Synced: 2025-03-01T22:29:13.992Z (over 1 year ago)
- Language: R
- Size: 2.73 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License.md
Awesome Lists containing this project
README
# nb2
Neighbor-based bootstrapping algorithm in R
## Installing
Install this R package using devtools.
```
$ git clone https://github.com/mtpatter/nb2.git
$ cd nb2
$ R
R> library (devtools)
R> install('.')
```
## Usage
Load as any other R module to access sample data and functions.
```
library(nb2)
```
See `example.R` for sample code running the nb2 algorithm on sample census data by county.
### My sessionInfo(), for future reference
```
> sessionInfo()
R version 3.2.1 (2015-06-18)
Platform: x86_64-apple-darwin10.8.0 (64-bit)
Running under: OS X 10.8.5 (Mountain Lion)
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] parallel stats graphics grDevices utils datasets methods
[8] base
other attached packages:
[1] nb2_0.0.0.9000 sp_1.2-1 plyr_1.8.3 reshape_0.8.5 devtools_1.9.1
loaded via a namespace (and not attached):
[1] tools_3.2.1 Rcpp_0.12.1 memoise_0.2.1 grid_3.2.1
[5] digest_0.6.8 lattice_0.20-33
```