F_gam {ARPobservation} | R Documentation |

## Gamma distribution and related equilibrium distribution

### Description

Random number generation from a gamma distribution and the related equilibrium distribution,
for use with `r_behavior_stream`

.

### Usage

```
F_gam(shape)
```

### Arguments

### Value

Object of class `eq_dist`

with components `r_gen`

and `r_eq`

.

The function `r_gen(n, mean)`

generates random deviates from a gamma distribution with specified
`mean`

and `shape`

parameters.

The function `r_eq(n, mean)`

generates random deviates from the equilibrium distribution corresponding
to the gamma distribution with specified `mean`

and `shape`

parameters.

### Examples

```
hist(F_gam(2)$r_gen(1000, 3))
hist(F_gam(2)$r_eq(1000, 3))
```

[Package

*ARPobservation* version 1.2.2

Index]