
BSDA
========

### Version 1.2.2

[![Downloads from the RStudio CRAN mirror](https://cranlogs.r-pkg.org/badges/BSDA)](https://cran.r-project.org/package=BSDA)

[![CRAN version](https://www.r-pkg.org/badges/version/BSDA)](https://cran.r-project.org/package=BSDA)

![](https://cranlogs.r-pkg.org/badges/grand-total/BSDA)
=======

### Alan T. Arnholt

**BSDA**: Functions and data sets for the text *Basic Statistics and Data Analysis*

Please report any **bugs** or **suggestions** at:
<https://github.com/alanarnholt/BSDA/issues>.

### Installation

The stable version of the package is available for download from [![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/BSDA)](https://cran.r-project.org/package=BSDA).

You may install the most recent development version of **BSDA** using the [devtools](https://github.com/r-lib/devtools) function `install_github()`.

However, you need to make sure you're set up to develop packages. This is platform specific:

* On Windows, download and install [Rtools](https://cran.r-project.org/bin/windows/Rtools/).
* On the Mac, make sure you have [Xcode](https://developer.apple.com/xcode/) installed.
* On Linux, make sure you have the R-dev packages installed.

You can check everything is installed correctly with the `has_devel()` function from the **devtools** package. Type the following at 
the **R** prompt:


```r
install.packages("devtools", dependencies = TRUE)    
devtools::has_devel()
```

If everything is installed correctly, the function will print some output and then return **TRUE**.

To install the **BSDA** package, type the following at the **R** prompt:


```r
devtools::install_github('alanarnholt/BSDA')
```
    
It is possible to install **BSDA** with [GIT](https://git-scm.com/) and the **R CMD build** assuming you have GIT installed and the appropriate tools to build **R** from source.

```bash
git clone https://github.com/alanarnholt/BSDA.git
R CMD build BSDA
R CMD INSTALL BSDA_*.tar.gz
```

