-
Notifications
You must be signed in to change notification settings - Fork 5
/
README.Rmd
44 lines (29 loc) · 951 Bytes
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
output:
md_document:
variant: markdown_github
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
library(muti)
```
[![Build Status](https://travis-ci.org/mdscheuerell/muti.svg?branch=master)](https://travis-ci.org/mdscheuerell/muti)
***
# muti
**muti** computes the mutual information (MI) contained in two vectors of discrete random variables. Click [here](https://mdscheuerell.github.io/muti) for the package website and vignette.
## Installation
You can install the development version using `devtools`.
```
if(!require("devtools")) {
install.packages("devtools")
library("devtools")
}
devtools::install_github("mdscheuerell/muti")
```
## Usage
At a minimum **muti** requires two equal-length vectors of class `numeric` or `integer`. See `?muti` for all of the other function arguments.
```
muti(x, y)
```
***
[![DOI](https://zenodo.org/badge/85351399.svg)](https://zenodo.org/badge/latestdoi/85351399)