comp3convolu: computes a convoluted distribution

Description Usage Arguments Value Examples

View source: R/f0.rbsb1.code.r

Description

From two probability vector associated to sequential integers starting from ZERO, returns the probability of the sum.

Usage

1
comp3convolu(pro1, pro2=pro1)

Arguments

pro1

Probability vector of the first variable. needs not to be normalized.

pro2

As pro1 for the second variable

Value

A named probability vector of length length(pro1)+length(pro2)-1. The names are the values of the sum.

Examples

1
2

rbsb documentation built on May 2, 2019, 4:41 p.m.

Related to comp3convolu in rbsb...