summaryrefslogtreecommitdiffstats
path: root/man/convolve.Rd
diff options
context:
space:
mode:
Diffstat (limited to 'man/convolve.Rd')
-rw-r--r--man/convolve.Rd20
1 files changed, 20 insertions, 0 deletions
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.
+}