knitr::opts_chunk$set(echo = TRUE) library(muti)
muti computes the mutual information (MI) contained in two vectors of discrete random variables. Click here for the package website and vignette.
You can install the development version using devtools
.
if(!require("devtools")) { install.packages("devtools") library("devtools") } devtools::install_github("mdscheuerell/muti")
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.