# binomial_: Binomial Distribution Calculus Function In LearningRlab: Statistical Learning Functions

 binomial_ R Documentation

## Binomial Distribution Calculus Function

### Description

This function calculates the binomial distribution of experiment.

### Usage

```binomial_(n,x,p)
```

### Arguments

 `x` Should be a numbers. `n` Should be a numbers. `p` Should be a numbers.

### Details

To calculate the binomial distribution, the user should give three number (the number of trials, probability of success and binomial random variable). The result is a discrete probability distribution that counts the number of successes in a sequence of n independent Bernoulli trials with a fixed probability p of occurrence of success between trials. The binomial distribution formule is the following:

### Value

Numeric, the binomial distribution of three variables.

### Note

Each variable is a number. Example: n <- 3 | x <- 2 | p <- 0.7

### Author(s)

Jose Manuel Gomez Caceres, josemanuel.gomezc@edu.uah.es

### Examples

```
#data creation
n = 3
x = 2
p = 0.7
binomial_(n,x,p)

```

LearningRlab documentation built on June 18, 2022, 1:06 a.m.