From 95adce57909cb778c274ab328ae59c23c8820baa Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Mon, 18 Dec 2017 13:11:07 -0500 Subject: update docs --- man/convolve.Rd | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 man/convolve.Rd (limited to 'man/convolve.Rd') diff --git a/man/convolve.Rd b/man/convolve.Rd new file mode 100644 index 0000000..b2cbbc4 --- /dev/null +++ b/man/convolve.Rd @@ -0,0 +1,20 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/distrib.R +\name{convolve} +\alias{convolve} +\title{Convolution of two discrete probability distributions} +\usage{ +convolve(dist1, dist2) +} +\arguments{ +\item{dist1}{Numeric vector of probabilities} + +\item{dist2}{Numeric vector of probabilities} +} +\value{ +Convolution of the two vectors +} +\description{ +This is the probability of the sum of the two random variables +assuming they are independent. +} -- cgit v1.2.3-70-g09d2