Description Usage Arguments Examples

Generator of symmetric random walk sampled n times.

1 2 3 | ```
sampledSymmetricRandomWalkGenerator( steps = 3000,
prob = c('head' = 0.5, 'tail' = 0.5),
n = 1)
``` |

`steps` |
Number of steps of the random walk |

`prob` |
Probability of occurence of head and tail for each step |

`n` |
Number of sample generated by the function |

1 2 | ```
# Generate 20 samples of a symmetric random walk
sampledSymmetricRandomWalkGenerator(n = 20)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.